mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 02:47:44 +01:00
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() {
|
||||
entity.dead = true;
|
||||
entity.die();
|
||||
}
|
||||
|
||||
public boolean isDead() {
|
||||
|
Loading…
Reference in New Issue
Block a user