diff --git a/src/main/java/WayofTime/bloodmagic/item/ItemPotionFlask.java b/src/main/java/WayofTime/bloodmagic/item/ItemPotionFlask.java index 0d7f9e01..12e0a2d4 100644 --- a/src/main/java/WayofTime/bloodmagic/item/ItemPotionFlask.java +++ b/src/main/java/WayofTime/bloodmagic/item/ItemPotionFlask.java @@ -69,6 +69,11 @@ public class ItemPotionFlask extends Item implements IMeshProvider { return EnumAction.DRINK; } + @Override + public boolean isDamaged(ItemStack stack) { + return false; + } + @Override public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { ItemStack stack = player.getHeldItem(hand); @@ -108,16 +113,6 @@ public class ItemPotionFlask extends Item implements IMeshProvider { tooltip.add(TextHelper.localizeEffect("tooltip.bloodmagic.potion.uses", stack.getMaxDamage() - stack.getItemDamage())); } -// @Override -// @SideOnly(Side.CLIENT) -// public void getSubItems(Item itemIn, CreativeTabs tab, List subItems) -// { -// for (PotionType potiontype : PotionType.REGISTRY) -// { -// subItems.add(PotionUtils.addPotionToItemStack(new ItemStack(itemIn), potiontype)); -// } -// } - @SideOnly(Side.CLIENT) @Override