Core/Spells: Prevent sending aura update packets for auras that aren't visible on client
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9470cd817890334a6a6d1609896de87e3cea5d4)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user