Core/Player: Do not remove auras from Gamemasters in arenas (#21568)

(cherry picked from commit 92b8a870bf423b439806ab39a8d5af0485e60ed8)
This commit is contained in:
Gooyeth
2021-08-23 20:03:40 +02:00
committed by Shauren
parent 08f4f9b324
commit 90b81a212e
+1 -1
View File
@@ -1472,7 +1472,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
}
// remove arena spell coldowns/buffs now to also remove pet's cooldowns before it's temporarily unsummoned
if (mEntry->IsBattleArena())
if (mEntry->IsBattleArena() && !IsGameMaster())
{
RemoveArenaSpellCooldowns(true);
RemoveArenaAuras();