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

This commit is contained in:
Nathan Adams 2011-11-25 00:32:44 +00:00
parent 620f101487
commit 20a0b0a9be

View File

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