Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-17 20:10:10 +01:00
SPIGOT-3067: Wither skeleton heads not dropping
Dieser Commit ist enthalten in:
Ursprung
4c8d895513
Commit
1a710213df
19
nms-patches/EntitySkeletonWither.patch
Normale Datei
19
nms-patches/EntitySkeletonWither.patch
Normale Datei
@ -0,0 +1,19 @@
|
||||
--- a/net/minecraft/server/EntitySkeletonWither.java
|
||||
+++ b/net/minecraft/server/EntitySkeletonWither.java
|
||||
@@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
public void die(DamageSource damagesource) {
|
||||
- super.die(damagesource);
|
||||
+ // super.die(damagesource); // CraftBukkit
|
||||
if (damagesource.getEntity() instanceof EntityCreeper) {
|
||||
EntityCreeper entitycreeper = (EntityCreeper) damagesource.getEntity();
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
this.a(new ItemStack(Items.SKULL, 1, 1), 0.0F);
|
||||
}
|
||||
}
|
||||
+ super.die(damagesource); // CraftBukkit - moved from above
|
||||
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren