3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00
Paper/nms-patches/EntitySkeleton.patch
2016-11-17 12:41:03 +11:00

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