diff options
author | md_5 <git@md-5.net> | 2017-06-09 15:51:56 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-06-09 15:51:56 +1000 |
commit | 1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1 (patch) | |
tree | 2ea5103bc6de3c0affcbd2bc38442b9989a4e227 | |
parent | bb4ae3b3b8a36a90a6ac29746c5b6cb1351fc772 (diff) | |
download | craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar.gz craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar.lz craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.tar.xz craftbukkit-1b3122eef1455f51180b3f49ab3de8d0e7bfd1d1.zip |
SPIGOT-3302: Armor stands not dropping armor
-rw-r--r-- | nms-patches/EntityArmorStand.patch | 8 |
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(); + } + |