mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 19:28:03 +01:00
implementation of Entity.isDead
By: afforess <afforess@gmail.com>
This commit is contained in:
parent
f8292a5eb6
commit
7b406bfc1e
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…
Add table
Reference in a new issue