Paper/nms-patches/EntitySkeleton.patch

20 Zeilen
598 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/EntitySkeleton.java
+++ b/net/minecraft/server/EntitySkeleton.java
2016-11-17 02:41:03 +01:00
@@ -34,7 +34,7 @@
}
public void die(DamageSource damagesource) {
- super.die(damagesource);
+ // super.die(damagesource); // CraftBukkit
2016-11-17 02:41:03 +01:00
if (damagesource.getEntity() instanceof EntityCreeper) {
EntityCreeper entitycreeper = (EntityCreeper) damagesource.getEntity();
2016-03-07 09:51:42 +01:00
2016-11-17 02:41:03 +01:00
@@ -43,6 +43,7 @@
this.a(new ItemStack(Items.SKULL, 1, 0), 0.0F);
}
2016-06-09 03:43:49 +02:00
}
2016-11-17 02:41:03 +01:00
+ super.die(damagesource); // CraftBukkit - moved from above
2016-06-09 03:43:49 +02:00
}