summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityArmorStand.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-06-09 15:51:56 +1000
committermd_5 <git@md-5.net>2017-06-09 15:51:56 +1000
commit1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1 (patch)
tree2ea5103bc6de3c0affcbd2bc38442b9989a4e227 /nms-patches/EntityArmorStand.patch
parentbb4ae3b3b8a36a90a6ac29746c5b6cb1351fc772 (diff)
downloadcraftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar
craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar.gz
craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar.lz
craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar.xz
craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.zip
SPIGOT-3302: Armor stands not dropping armor
Diffstat (limited to 'nms-patches/EntityArmorStand.patch')
-rw-r--r--nms-patches/EntityArmorStand.patch8
1 files changed, 8 insertions, 0 deletions
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();
+ }
+