This commit is contained in:
modmuss50 2018-07-20 22:31:20 +01:00
parent 389b716880
commit f5c6b59ebd
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
79 changed files with 163 additions and 204 deletions

View file

@ -45,7 +45,7 @@ public class ItemBlockCable extends ItemBlock {
}
@Override
public String getUnlocalizedName(ItemStack stack) {
return super.getUnlocalizedName() + "." + EnumCableType.values()[stack.getItemDamage()].getName();
public String getTranslationKey(ItemStack stack) {
return super.getTranslationKey() + "." + EnumCableType.values()[stack.getItemDamage()].getName();
}
}

View file

@ -36,6 +36,6 @@ public class ItemBlockRubberSapling extends ItemBlock {
public ItemBlockRubberSapling(Block block) {
super(block);
setCreativeTab(TechRebornCreativeTab.instance);
setUnlocalizedName("techreborn.rubberSapling");
setTranslationKey("techreborn.rubberSapling");
}
}