mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Removed extra eat call. Fixes BUKKIT-4462
This commit is contained in:
parent
fdd53f9ddc
commit
2d9a9d8cea
1 changed files with 0 additions and 1 deletions
|
@ -39,7 +39,6 @@ public class ItemFood extends Item {
|
|||
((EntityPlayer) entityhuman).playerConnection.sendPacket(new Packet8UpdateHealth(entityhuman.getHealth(), entityhuman.getFoodData().foodLevel, entityhuman.getFoodData().saturationLevel));
|
||||
// CraftBukkit end
|
||||
|
||||
entityhuman.getFoodData().a(this);
|
||||
world.makeSound(entityhuman, "random.burp", 0.5F, world.random.nextFloat() * 0.1F + 0.9F);
|
||||
this.c(itemstack, world, entityhuman);
|
||||
return itemstack;
|
||||
|
|
Loading…
Reference in a new issue