forked from mirror/azerothcore-wotlk
feat(Core/Battlefield): Skip GMs from war invites (#25987)
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
08e458a62b
commit
1ff5147b85
@@ -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