Fix eating 2 food instead of 1
This commit is contained in:
parent
dcf73d5e4b
commit
67e4fbb6ef
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue