From 1a710213df1c7dd1d23cf3ec8fab1f3039d6d534 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 15 Feb 2017 10:11:41 +1100 Subject: [PATCH] SPIGOT-3067: Wither skeleton heads not dropping --- nms-patches/EntitySkeletonWither.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nms-patches/EntitySkeletonWither.patch diff --git a/nms-patches/EntitySkeletonWither.patch b/nms-patches/EntitySkeletonWither.patch new file mode 100644 index 0000000000..25d7fc871c --- /dev/null +++ b/nms-patches/EntitySkeletonWither.patch @@ -0,0 +1,19 @@ +--- a/net/minecraft/server/EntitySkeletonWither.java ++++ b/net/minecraft/server/EntitySkeletonWither.java +@@ -36,7 +36,7 @@ + } + + public void die(DamageSource damagesource) { +- super.die(damagesource); ++ // super.die(damagesource); // CraftBukkit + if (damagesource.getEntity() instanceof EntityCreeper) { + EntityCreeper entitycreeper = (EntityCreeper) damagesource.getEntity(); + +@@ -45,6 +45,7 @@ + this.a(new ItemStack(Items.SKULL, 1, 1), 0.0F); + } + } ++ super.die(damagesource); // CraftBukkit - moved from above + + } +