diff options
author | EvilSeph <evilseph@gmail.com> | 2013-07-04 19:19:04 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2013-07-04 19:19:36 -0400 |
commit | 2d9a9d8cea904deb7f748a0bbdd76a10012b3821 (patch) | |
tree | dd11b97a6984200b7a0e10015a16029b5e5180c2 /src/main/java/net | |
parent | fdd53f9ddccfd7dd630643346cab23784588e119 (diff) | |
download | craftbukkit-2d9a9d8cea904deb7f748a0bbdd76a10012b3821.tar craftbukkit-2d9a9d8cea904deb7f748a0bbdd76a10012b3821.tar.gz craftbukkit-2d9a9d8cea904deb7f748a0bbdd76a10012b3821.tar.lz craftbukkit-2d9a9d8cea904deb7f748a0bbdd76a10012b3821.tar.xz craftbukkit-2d9a9d8cea904deb7f748a0bbdd76a10012b3821.zip |
Removed extra eat call. Fixes BUKKIT-4462
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemFood.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemFood.java b/src/main/java/net/minecraft/server/ItemFood.java index 5b77fc72..c0274094 100644 --- a/src/main/java/net/minecraft/server/ItemFood.java +++ b/src/main/java/net/minecraft/server/ItemFood.java @@ -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; |