diff --git a/src/main/java/net/minecraft/server/FoodMetaData.java b/src/main/java/net/minecraft/server/FoodMetaData.java index fe78d4ea07..768e42d7a4 100644 --- a/src/main/java/net/minecraft/server/FoodMetaData.java +++ b/src/main/java/net/minecraft/server/FoodMetaData.java @@ -49,7 +49,8 @@ public class FoodMetaData { if (this.foodLevel >= 18 && entityhuman.W()) { ++this.foodTickTimer; if (this.foodTickTimer >= 80) { - entityhuman.c(1); + // CraftBukkit - added RegainReason. + entityhuman.c(1, org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.SATIATED); this.foodTickTimer = 0; } } else if (this.foodLevel <= 0) {