Changed Entity.isDead to be aware of health for living entities

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-11-25 00:32:44 +00:00
parent aa9a64c1d7
commit 474234b6be

View file

@ -198,7 +198,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
}
public boolean isDead() {
return entity.dead;
return !entity.aj();
}
public Entity getHandle() {