mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
SPIGOT-2474: Use .die() to set entity remove status
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7b2050e56f
commit
f2ad797555
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