Merge pull request #58 from taelnia/liquid-localization-fix
BoP bucket localization fix
This commit is contained in:
commit
c997e93554
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ public class BOPLiquids
|
|||
|
||||
private static void initializeContainers()
|
||||
{
|
||||
Liquids.bopBucket = Optional.of((new ItemBOPBucket(BOPConfiguration.bopBucketID).setMaxStackSize(1).setUnlocalizedName("bopBucket").setContainerItem(Item.bucketEmpty)));
|
||||
Liquids.bopBucket = Optional.of((new ItemBOPBucket(BOPConfiguration.bopBucketID).setMaxStackSize(1).setUnlocalizedName("bop.bopBucket").setContainerItem(Item.bucketEmpty)));
|
||||
|
||||
//TODO: Remove upon Fluid API being integrated into Forge
|
||||
LiquidContainerRegistry.registerLiquid(new LiquidContainerData(LiquidDictionary.getLiquid("Liquid Poison", LiquidContainerRegistry.BUCKET_VOLUME), new ItemStack(Liquids.bopBucket.get(), 1, 1), new ItemStack(Item.bucketEmpty)));
|
||||
|
|
|
@ -236,7 +236,7 @@ public class ItemBOPBucket extends Item
|
|||
meta = 0;
|
||||
}
|
||||
|
||||
return bucketTypes[meta];
|
||||
return super.getUnlocalizedName() + "." + bucketTypes[meta];
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue