mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
feat(Core/Arena): support cross-faction teams (#6448)
This commit is contained in:
@@ -1864,7 +1864,7 @@ GroupJoinBattlegroundResult Group::CanJoinBattlegroundQueue(Battleground const*
|
||||
return ERR_BATTLEGROUND_JOIN_FAILED;
|
||||
|
||||
// don't allow cross-faction groups to join queue
|
||||
if (member->GetTeamId() != teamId)
|
||||
if (member->GetTeamId() != teamId && !sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP))
|
||||
return ERR_BATTLEGROUND_JOIN_TIMED_OUT;
|
||||
|
||||
// don't let join rated matches if the arena team id doesn't match
|
||||
|
||||
Reference in New Issue
Block a user