mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-10 09:31:57 +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
@ -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