mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update CraftBukkit to Minecraft 1.3.1
This commit is contained in:
1 parent
08e2923bd4
commit
a43d621c01
240 files changed
+10763
-9150
No files matched your search
@@ -42,10 +42,10 @@ public class FoodMetaData {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.foodLevel >= 18 && entityhuman.ag()) {
|
||||
if (this.foodLevel >= 18 && entityhuman.bM()) {
|
||||
++this.foodTickTimer;
|
||||
if (this.foodTickTimer >= 80) {
|
||||
// CraftBukkit - added RegainReason.
|
||||
// CraftBukkit - added RegainReason
|
||||
entityhuman.heal(1, org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.SATIATED);
|
||||
this.foodTickTimer = 0;
|
||||
}
|
||||
@@ -91,7 +91,7 @@ public class FoodMetaData {
|
||||
return this.foodLevel;
|
||||
}
|
||||
|
||||
public boolean b() {
|
||||
public boolean c() {
|
||||
return this.foodLevel < 20;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ public class FoodMetaData {
|
||||
this.exhaustionLevel = Math.min(this.exhaustionLevel + f, 40.0F);
|
||||
}
|
||||
|
||||
public float c() {
|
||||
public float e() {
|
||||
return this.saturationLevel;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user