Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time
Port From (https://github.com/TrinityCore/TrinityCore/commit/84486ded67efc4e779412ff865c66ca8b9cee7ea)
This commit is contained in:
@@ -403,10 +403,6 @@ namespace Game
|
||||
if (!spellInfo.IsPositive() || spellInfo.IsPassive())
|
||||
return;
|
||||
|
||||
if (spellInfo.Id == PlayerConst.SpellMercenaryContractHorde || spellInfo.Id == PlayerConst.SpellMercenaryContractAlliance)
|
||||
if (_player.InBattlegroundQueue())
|
||||
return;
|
||||
|
||||
GetPlayer().RemoveOwnedAura(cancelAura.SpellID, cancelAura.CasterGUID, 0, AuraRemoveMode.Cancel);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user