From ef78b7b9f8dacb8f37085435aab70bc96f02bfb1 Mon Sep 17 00:00:00 2001 From: Matt Caughey Date: Mon, 22 Jul 2013 21:37:13 -0400 Subject: [PATCH] Hopefully fixed food crash? --- src/minecraft/biomesoplenty/items/ItemBOPFood.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/minecraft/biomesoplenty/items/ItemBOPFood.java b/src/minecraft/biomesoplenty/items/ItemBOPFood.java index 9a6e2b02e..bf984b7da 100644 --- a/src/minecraft/biomesoplenty/items/ItemBOPFood.java +++ b/src/minecraft/biomesoplenty/items/ItemBOPFood.java @@ -30,8 +30,6 @@ public class ItemBOPFood extends ItemFood @Override public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer player) { - boolean alwaysEdible = ReflectionHelper.getPrivateValue(ItemFood.class, (ItemFood)Item.itemsList[itemstack.itemID], "alwaysEdible"); - if (itemstack.getItemDamage() == 1) { if (player.canEat(true))