mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 17:31:06 +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;
|
||||
}
|
||||
|
||||
public boolean isDead() {
|
||||
return entity.dead;
|
||||
}
|
||||
|
||||
public Entity getHandle() {
|
||||
return entity;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue