Files
CatServer/patches/net/minecraft/entity/monster/EntityWitherSkeleton.java.patch
2019-02-24 22:29:41 +08:00

20 lines
672 B
Diff

--- ../src-base/minecraft/net/minecraft/entity/monster/EntityWitherSkeleton.java
+++ ../src-work/minecraft/net/minecraft/entity/monster/EntityWitherSkeleton.java
@@ -63,7 +63,7 @@
public void onDeath(DamageSource cause)
{
- super.onDeath(cause);
+ // super.onDeath(cause); // CraftBukkit - down
if (cause.getTrueSource() instanceof EntityCreeper)
{
@@ -75,6 +75,7 @@
this.entityDropItem(new ItemStack(Items.SKULL, 1, 1), 0.0F);
}
}
+ super.onDeath(cause); // CraftBukkit - moved from above
}
protected void setEquipmentBasedOnDifficulty(DifficultyInstance difficulty)