Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Removed extra eat call. Fixes BUKKIT-4462
Dieser Commit ist enthalten in:
Ursprung
fdd53f9ddc
Commit
2d9a9d8cea
@ -39,7 +39,6 @@ public class ItemFood extends Item {
|
|||||||
((EntityPlayer) entityhuman).playerConnection.sendPacket(new Packet8UpdateHealth(entityhuman.getHealth(), entityhuman.getFoodData().foodLevel, entityhuman.getFoodData().saturationLevel));
|
((EntityPlayer) entityhuman).playerConnection.sendPacket(new Packet8UpdateHealth(entityhuman.getHealth(), entityhuman.getFoodData().foodLevel, entityhuman.getFoodData().saturationLevel));
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
entityhuman.getFoodData().a(this);
|
|
||||||
world.makeSound(entityhuman, "random.burp", 0.5F, world.random.nextFloat() * 0.1F + 0.9F);
|
world.makeSound(entityhuman, "random.burp", 0.5F, world.random.nextFloat() * 0.1F + 0.9F);
|
||||||
this.c(itemstack, world, entityhuman);
|
this.c(itemstack, world, entityhuman);
|
||||||
return itemstack;
|
return itemstack;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren