summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySkeletonWither.patch
blob: 25d7fc871c441b107cd92731eae2c33ec91af5de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
 
     }