From b8c7e7b567897405e943fa62bce23cffc6350beb Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 8 Jun 2025 14:48:11 -0400 Subject: [PATCH] Core/Spells: Prevent sending aura update packets for auras that aren't visible on client Port From (https://github.com/TrinityCore/TrinityCore/commit/e9470cd817890334a6a6d1609896de87e3cea5d4) --- Source/Game/Spells/Spell.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 0177409de..9727ee546 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -9196,7 +9196,7 @@ namespace Game.Spells if (effMask != 0) _spellHitTarget._ApplyAura(aurApp, effMask); - if (aurApp.IsNeedClientUpdate() && aurApp.GetRemoveMode() == AuraRemoveMode.None) + if (aurApp.GetSlot() < SpellConst.MaxAuras && aurApp.IsNeedClientUpdate() && aurApp.GetRemoveMode() == AuraRemoveMode.None) { aurApp.ClientUpdate(false); _spellHitTarget.RemoveVisibleAuraUpdate(aurApp);