mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time
This commit is contained in:
@@ -398,10 +398,6 @@ void WorldSession::HandleCancelAuraOpcode(WorldPackets::Spells::CancelAura& canc
|
||||
if (!spellInfo->IsPositive() || spellInfo->IsPassive())
|
||||
return;
|
||||
|
||||
if (spellInfo->Id == SPELL_MERCENARY_CONTRACT_HORDE || spellInfo->Id == SPELL_MERCENARY_CONTRACT_ALLIANCE)
|
||||
if (_player->InBattlegroundQueue())
|
||||
return;
|
||||
|
||||
_player->RemoveOwnedAura(cancelAura.SpellID, cancelAura.CasterGUID, 0, AURA_REMOVE_BY_CANCEL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user