diff --git a/nms-patches/net/minecraft/server/level/EntityPlayer.patch b/nms-patches/net/minecraft/server/level/EntityPlayer.patch index d2126ebd7..c8e70068b 100644 --- a/nms-patches/net/minecraft/server/level/EntityPlayer.patch +++ b/nms-patches/net/minecraft/server/level/EntityPlayer.patch @@ -999,6 +999,15 @@ } @Override +@@ -1677,7 +2081,7 @@ + this.onUpdateAbilities(); + if (flag) { + this.getAttributes().assignBaseValues(entityplayer.getAttributes()); +- this.getAttributes().assignPermanentModifiers(entityplayer.getAttributes()); ++ // this.getAttributes().assignPermanentModifiers(entityplayer.getAttributes()); // CraftBukkit + this.setHealth(entityplayer.getHealth()); + this.foodData = entityplayer.foodData; + Iterator iterator = entityplayer.getActiveEffects().iterator(); @@ -1685,7 +2089,7 @@ while (iterator.hasNext()) { MobEffect mobeffect = (MobEffect) iterator.next();