3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00
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
}