mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 03:32:46 +01:00
SPIGOT-2474: Use .die() to set entity remove status
This commit is contained in:
parent
56813c7fff
commit
1628ce6240
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue