mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-12 09:51:12 +01: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…
Reference in a new issue