summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nms-patches/EntitySkeletonWither.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/nms-patches/EntitySkeletonWither.patch b/nms-patches/EntitySkeletonWither.patch
new file mode 100644
index 00000000..25d7fc87
--- /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
+
+ }
+