mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 17:43:47 +00:00
fix(Core/Battlegrounds): Don't Perform Exploit Prevention Checks on GameMasters (#24520)
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user