mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
12 lines
528 B
Diff
12 lines
528 B
Diff
|
--- a/net/minecraft/world/effect/HungerMobEffect.java
|
||
|
+++ b/net/minecraft/world/effect/HungerMobEffect.java
|
||
|
@@ -15,7 +15,7 @@
|
||
|
if (entityliving instanceof EntityHuman) {
|
||
|
EntityHuman entityhuman = (EntityHuman) entityliving;
|
||
|
|
||
|
- entityhuman.causeFoodExhaustion(0.005F * (float) (i + 1));
|
||
|
+ entityhuman.causeFoodExhaustion(0.005F * (float) (i + 1), org.bukkit.event.entity.EntityExhaustionEvent.ExhaustionReason.HUNGER_EFFECT); // CraftBukkit - EntityExhaustionEvent
|
||
|
}
|
||
|
|
||
|
}
|