From f2ad79755531df5a3d41f79bce5027b9870e0904 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 2 Jul 2016 11:24:14 +1000 Subject: [PATCH] SPIGOT-2474: Use .die() to set entity remove status By: md_5 --- .../main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index a4f21b705b..e535142729 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -275,7 +275,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { } public void remove() { - entity.dead = true; + entity.die(); } public boolean isDead() {