forked from mirror/azerothcore-wotlk
feat(Core/Battlefield): Skip GMs from war invites (#25987)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -235,6 +235,9 @@ void Battlefield::InvitePlayerToWar(Player* player)
|
||||
if (!player)
|
||||
return;
|
||||
|
||||
if (player->IsGameMaster())
|
||||
return;
|
||||
|
||||
/// @todo : needed ?
|
||||
if (player->IsInFlight())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user