fix(Core/Battlegrounds): Don't Perform Exploit Prevention Checks on GameMasters (#24520)
This commit is contained in:
parent
e2e40ee717
commit
5eaa5d5739
1 changed files with 3 additions and 0 deletions
|
|
@ -336,6 +336,9 @@ inline void Battleground::_CheckSafePositions(uint32 diff)
|
|||
|
||||
for (auto const& [playerGuid, player] : GetPlayers())
|
||||
{
|
||||
if (player->IsGameMaster())
|
||||
continue;
|
||||
|
||||
Position pos = player->GetPosition();
|
||||
Position const* startPos = GetTeamStartPosition(player->GetBgTeamId());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue