mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
implementation of Entity.isDead
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user