summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySkeleton.patch
blob: 18243710422fd4312c04d4670f85e8cccedf363a (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
@@ -34,7 +34,7 @@
     }
 
     public void die(DamageSource damagesource) {
-        super.die(damagesource);
+        // super.die(damagesource); // CraftBukkit
         if (damagesource.getEntity() instanceof EntityCreeper) {
             EntityCreeper entitycreeper = (EntityCreeper) damagesource.getEntity();
 
@@ -43,6 +43,7 @@
                 this.a(new ItemStack(Items.SKULL, 1, 0), 0.0F);
             }
         }
+        super.die(damagesource); // CraftBukkit - moved from above
 
     }