diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/Entity.java')
-rw-r--r-- | src/main/java/net/minecraft/server/Entity.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java index 3953bc49..06f85fdc 100644 --- a/src/main/java/net/minecraft/server/Entity.java +++ b/src/main/java/net/minecraft/server/Entity.java @@ -1149,10 +1149,6 @@ public abstract class Entity { // CraftBukkit start if (this instanceof EntityLiving) { EntityLiving entity = (EntityLiving) this; - // If the entity does not have a max health set yet, update it (it may have changed after loading the entity) - if (!nbttagcompound.hasKey("Bukkit.MaxHealth")) { - entity.maxHealth = entity.getMaxHealth(); - } // Reset the persistence for tamed animals if (entity instanceof EntityTameableAnimal && !isLevelAtLeast(nbttagcompound, 2) && !nbttagcompound.getBoolean("PersistenceRequired")) { |