From 2d9a9d8cea904deb7f748a0bbdd76a10012b3821 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 4 Jul 2013 19:19:04 -0400 Subject: [PATCH] Removed extra eat call. Fixes BUKKIT-4462 --- src/main/java/net/minecraft/server/ItemFood.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ItemFood.java b/src/main/java/net/minecraft/server/ItemFood.java index 5b77fc72e3..c0274094d2 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;