mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Spells: Prevent sending aura update packets for auras that aren't visible on client
Closes #30633
This commit is contained in:
@@ -3024,7 +3024,7 @@ void Spell::TargetInfo::DoDamageAndTriggers(Spell* spell)
|
||||
if (effMask)
|
||||
_spellHitTarget->_ApplyAura(aurApp, effMask);
|
||||
|
||||
if (aurApp->IsNeedClientUpdate() && aurApp->GetRemoveMode() == AURA_REMOVE_NONE)
|
||||
if (aurApp->GetSlot() < MAX_AURAS && aurApp->IsNeedClientUpdate() && aurApp->GetRemoveMode() == AURA_REMOVE_NONE)
|
||||
{
|
||||
aurApp->ClientUpdate(false);
|
||||
_spellHitTarget->RemoveVisibleAuraUpdate(aurApp);
|
||||
|
||||
Reference in New Issue
Block a user