From 2cfb85dae20056d4fc6f25742229f4b11063c039 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 3 Aug 2017 08:21:05 +1000 Subject: [PATCH] SPIGOT-3487: Llama doesn't drop chest --- nms-patches/EntityHorseChestedAbstract.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nms-patches/EntityHorseChestedAbstract.patch diff --git a/nms-patches/EntityHorseChestedAbstract.patch b/nms-patches/EntityHorseChestedAbstract.patch new file mode 100644 index 0000000000..99c2c11ae8 --- /dev/null +++ b/nms-patches/EntityHorseChestedAbstract.patch @@ -0,0 +1,19 @@ +--- a/net/minecraft/server/EntityHorseChestedAbstract.java ++++ b/net/minecraft/server/EntityHorseChestedAbstract.java +@@ -43,7 +43,7 @@ + } + + public void die(DamageSource damagesource) { +- super.die(damagesource); ++ // super.die(damagesource); // CraftBukkit - moved down + if (this.isCarryingChest()) { + if (!this.world.isClientSide) { + this.a(Item.getItemOf(Blocks.CHEST), 1); +@@ -51,6 +51,7 @@ + + this.setCarryingChest(false); + } ++ super.die(damagesource); // CraftBukkit + + } +