mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 04:55:47 +01:00
implementation of Entity.isDead
This commit is contained in:
parent
adb13029bc
commit
a0b2a26c3a
@ -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 New Issue
Block a user