diff --git a/paper-server/nms-patches/EntityLiving.patch b/paper-server/nms-patches/EntityLiving.patch index ca77592fb8..1a7b6da427 100644 --- a/paper-server/nms-patches/EntityLiving.patch +++ b/paper-server/nms-patches/EntityLiving.patch @@ -270,11 +270,10 @@ this.a(mobeffect); return true; - } else if (mobeffect1.a(mobeffect)) { -- this.a(mobeffect1, true); + // CraftBukkit start + } else if (event.isOverride()) { -+ this.effects.put(mobeffect.getMobEffect(), mobeffect); -+ this.a(mobeffect, true); ++ mobeffect1.a(mobeffect); + this.a(mobeffect1, true); + // CraftBukkit end return true; } else {