From 1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 9 Jun 2017 15:51:56 +1000 Subject: SPIGOT-3302: Armor stands not dropping armor --- nms-patches/EntityArmorStand.patch | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nms-patches/EntityArmorStand.patch') diff --git a/nms-patches/EntityArmorStand.patch b/nms-patches/EntityArmorStand.patch index f0135822..b89cca72 100644 --- a/nms-patches/EntityArmorStand.patch +++ b/nms-patches/EntityArmorStand.patch @@ -114,3 +114,11 @@ this.bz.set(i, ItemStack.a); } } +@@ -601,6 +630,7 @@ + } + + public void killEntity() { ++ org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(this, drops); // CraftBukkit - call event + this.die(); + } + -- cgit v1.2.3