Hopefully fixed food crash?
This commit is contained in:
parent
cff7fc6486
commit
ef78b7b9f8
1 changed files with 0 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue