summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySkeleton.patch
blob: c763f72117093c76042edbb32aad5fa19903df69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/net/minecraft/server/EntitySkeleton.java
+++ b/net/minecraft/server/EntitySkeleton.java
@@ -30,7 +30,7 @@
     }
 
     public void die(DamageSource damagesource) {
-        super.die(damagesource);
+        // super.die(damagesource); // CraftBukkit
         if (damagesource.getEntity() instanceof EntityCreeper) {
             EntityCreeper entitycreeper = (EntityCreeper) damagesource.getEntity();
 
@@ -39,6 +39,7 @@
                 this.a((IMaterial) Items.SKELETON_SKULL);
             }
         }
+        super.die(damagesource); // CraftBukkit - moved from above
 
     }