From 1628ce6240534a89a0f0d9bd818448b2b31d199c Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 2 Jul 2016 11:24:14 +1000 Subject: [PATCH] SPIGOT-2474: Use .die() to set entity remove status --- src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index a4f21b705b..e535142729 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/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() {