SPIGOT-2474: Use .die() to set entity remove status

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-07-02 11:24:14 +10:00
parent 7b2050e56f
commit f2ad797555

View file

@ -275,7 +275,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
}
public void remove() {
entity.dead = true;
entity.die();
}
public boolean isDead() {