mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
I realized how stupid, even though it's not getting used, "item.actuallyadditions.itemPotionRingpotion.nightVision" sounds. Whoops.
This commit is contained in:
parent
6f20bb2b70
commit
e56ba31f07
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue