mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 23:38:00 +00:00
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