mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +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())
|
for (auto const& [playerGuid, player] : GetPlayers())
|
||||||
{
|
{
|
||||||
|
if (player->IsGameMaster())
|
||||||
|
continue;
|
||||||
|
|
||||||
Position pos = player->GetPosition();
|
Position pos = player->GetPosition();
|
||||||
Position const* startPos = GetTeamStartPosition(player->GetBgTeamId());
|
Position const* startPos = GetTeamStartPosition(player->GetBgTeamId());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user