Paper/nms-patches/EntitySkeleton.patch

20 lines
592 B
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/EntitySkeleton.java
+++ b/net/minecraft/server/EntitySkeleton.java
2018-07-15 02:00:00 +02:00
@@ -30,7 +30,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
2018-07-15 02:00:00 +02:00
@@ -39,6 +39,7 @@
this.a((IMaterial) Items.SKELETON_SKULL);
2016-11-17 02:41:03 +01:00
}
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
}