Paper/nms-patches/EntitySkeleton.patch
2016-11-17 12:41:03 +11:00

20 lines
598 B
Diff

--- 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
}