@@ -68,7 +68,7 @@
|
||||
}
|
||||
@@ -352,7 +377,8 @@
|
||||
|
||||
if (this.world.getDifficulty() == EnumDifficulty.PEACEFUL && this.world.getGameRules().getBoolean("naturalRegeneration")) {
|
||||
if (this.world.getDifficulty() == EnumDifficulty.PEACEFUL && this.world.getGameRules().getBoolean(GameRules.NATURAL_REGENERATION)) {
|
||||
if (this.getHealth() < this.getMaxHealth() && this.ticksLived % 20 == 0) {
|
||||
- this.heal(1.0F);
|
||||
+ // CraftBukkit - added regain reason of "REGEN" for filtering purposes.
|
||||
|
||||
Reference in New Issue
Block a user