@@ -73,7 +73,7 @@
|
||||
|
||||
@@ -49,23 +84,25 @@
|
||||
|
||||
if (flag && this.saturationLevel > 0.0F && entityhuman.ft() && this.foodLevel >= 20) {
|
||||
if (flag && this.saturationLevel > 0.0F && entityhuman.fu() && this.foodLevel >= 20) {
|
||||
++this.tickTimer;
|
||||
- if (this.tickTimer >= 10) {
|
||||
+ if (this.tickTimer >= this.saturatedRegenRate) { // CraftBukkit
|
||||
@@ -86,7 +86,7 @@
|
||||
+ entityhuman.applyExhaustion(f, org.bukkit.event.entity.EntityExhaustionEvent.ExhaustionReason.REGEN); // CraftBukkit - EntityExhaustionEvent
|
||||
this.tickTimer = 0;
|
||||
}
|
||||
} else if (flag && this.foodLevel >= 18 && entityhuman.ft()) {
|
||||
} else if (flag && this.foodLevel >= 18 && entityhuman.fu()) {
|
||||
++this.tickTimer;
|
||||
- if (this.tickTimer >= 80) {
|
||||
- entityhuman.heal(1.0F);
|
||||
|
||||
Reference in New Issue
Block a user