diff --git a/paper-server/patches/sources/net/minecraft/world/entity/projectile/WitherSkull.java.patch b/paper-server/patches/sources/net/minecraft/world/entity/projectile/WitherSkull.java.patch index d67169854..ef4684074 100644 --- a/paper-server/patches/sources/net/minecraft/world/entity/projectile/WitherSkull.java.patch +++ b/paper-server/patches/sources/net/minecraft/world/entity/projectile/WitherSkull.java.patch @@ -11,7 +11,7 @@ public class WitherSkull extends AbstractHurtingProjectile { -@@ -69,7 +73,7 @@ +@@ -69,11 +73,11 @@ if (entity.isAlive()) { EnchantmentHelper.doPostAttackEffects(worldserver, entity, damagesource); } else { @@ -20,6 +20,11 @@ } } } else { +- flag = entity.hurtServer(worldserver, this.damageSources().magic(), 5.0F); ++ flag = entity.hurtServer(worldserver, this.damageSources().magic().customCausingEntity(this), 5.0F); // Paper - Fire EntityDamageByEntityEvent for unowned wither skulls + } + + if (flag && entity instanceof LivingEntity entityliving) { @@ -86,7 +90,7 @@ }