I realized how stupid, even though it's not getting used, "item.actuallyadditions.itemPotionRingpotion.nightVision" sounds. Whoops.

This commit is contained in:
Ellpeck 2015-08-12 16:02:56 +02:00
parent 6f20bb2b70
commit e56ba31f07
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ public class ItemPotionRing extends Item implements INameableItem{
@Override
public String getUnlocalizedName(ItemStack stack){
return this.getUnlocalizedName() + (stack.getItemDamage() >= allRings.length ? " ERROR!" : allRings[stack.getItemDamage()].getName());
return this.getUnlocalizedName() + (stack.getItemDamage() >= allRings.length ? " ERROR!" : allRings[stack.getItemDamage()].getName().substring("potion".length()));
}
@Override

View file

@ -38,7 +38,7 @@ public class BlockUtil{
}
}
public static final ArrayList<Block> wailaRegisterList = new ArrayList<Block>();
public static ArrayList<Block> wailaRegisterList = new ArrayList<Block>();
public static void register(Block block, Class<? extends ItemBlock> itemBlock, boolean addTab){
block.setCreativeTab(addTab ? CreativeTab.instance : null);