Changed Entity.isDead to be aware of health for living entities
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user