13
0
geforkt von Mirrors/Paper
Paper/nms-patches/EntitySkeleton.patch
2018-07-15 10:00:00 +10:00

20 Zeilen
592 B
Diff

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