3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 23:00:08 +01:00
Paper/nms-patches/EntitySkeleton.patch

20 Zeilen
592 B
Diff

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
}