From a0b2a26c3a8acc61d1c3cf93e25c3891b97227a9 Mon Sep 17 00:00:00 2001 From: afforess Date: Sat, 2 Apr 2011 01:08:57 -0400 Subject: [PATCH] implementation of Entity.isDead --- src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index 9821982f78..3e1f5acf7a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -147,6 +147,10 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { entity.dead = true; } + public boolean isDead() { + return entity.dead; + } + public Entity getHandle() { return entity; }