From 67e4fbb6efc3e51c5d153986ba9269d80ee1645c Mon Sep 17 00:00:00 2001 From: Exidex Date: Mon, 10 Apr 2017 16:49:26 +0200 Subject: [PATCH] Fix eating 2 food instead of 1 --- src/main/java/gregtech/api/items/GT_MetaGenerated_Item.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/gregtech/api/items/GT_MetaGenerated_Item.java b/src/main/java/gregtech/api/items/GT_MetaGenerated_Item.java index 851de232..fb92bc56 100644 --- a/src/main/java/gregtech/api/items/GT_MetaGenerated_Item.java +++ b/src/main/java/gregtech/api/items/GT_MetaGenerated_Item.java @@ -317,7 +317,6 @@ public abstract class GT_MetaGenerated_Item extends GT_MetaBase_Item { EntityPlayer entityplayer = (EntityPlayer) entityLiving; IFoodStat tStat = mFoodStats.get((short) getDamage(stack)); if (tStat != null) { - --stack.stackSize; entityplayer.getFoodStats().addStats(tStat.getFoodLevel(this, stack, entityplayer), tStat.getSaturation(this, stack, entityplayer)); tStat.onEaten(this, stack, entityplayer); }