mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
implementation of Entity.isDead
This commit is contained in:
parent
adb13029bc
commit
a0b2a26c3a
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||||
entity.dead = true;
|
entity.dead = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isDead() {
|
||||||
|
return entity.dead;
|
||||||
|
}
|
||||||
|
|
||||||
public Entity getHandle() {
|
public Entity getHandle() {
|
||||||
return entity;
|
return entity;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue