Hopefully fixed food crash?

This commit is contained in:
Matt Caughey 2013-07-22 21:37:13 -04:00
parent cff7fc6486
commit ef78b7b9f8

View file

@ -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))