SPIGOT-2474: Use .die() to set entity remove status
This commit is contained in:
parent
56813c7fff
commit
1628ce6240
@ -275,7 +275,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void remove() {
|
public void remove() {
|
||||||
entity.dead = true;
|
entity.die();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isDead() {
|
public boolean isDead() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user