From 0b107b8de3c890ad4ea9da62066b132ff0c7afd2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 22 Jul 2019 12:28:38 +1000 Subject: [PATCH] MC-157395, SPIGOT-5193: Small armor stands do not drop loot --- nms-patches/EntityArmorStand.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nms-patches/EntityArmorStand.patch b/nms-patches/EntityArmorStand.patch index d1e402d4dd..342ef38a02 100644 --- a/nms-patches/EntityArmorStand.patch +++ b/nms-patches/EntityArmorStand.patch @@ -139,8 +139,17 @@ } -@@ -602,6 +639,7 @@ +@@ -600,8 +637,16 @@ + return this.isSmall(); + } ++ // CraftBukkit start ++ @Override ++ protected boolean isDropExperience() { ++ return true; // MC-157395, SPIGOT-5193 even baby (small) armor stands should drop ++ } ++ // CraftBukkit end ++ @Override public void killEntity() { + org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(this, drops); // CraftBukkit - call event