Core/Groups: Allow inviting members of opposite faction with GM mode on.
Closes #510
This commit is contained in:
@@ -86,7 +86,7 @@ void WorldSession::HandleGroupInviteOpcode(WorldPacket & recv_data)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// can't group with
|
// can't group with
|
||||||
if (!sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP) && GetPlayer()->GetTeam() != player->GetTeam())
|
if (!GetPlayer()->isGameMaster() && !sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP) && GetPlayer()->GetTeam() != player->GetTeam())
|
||||||
{
|
{
|
||||||
SendPartyResult(PARTY_OP_INVITE, membername, ERR_PLAYER_WRONG_FACTION);
|
SendPartyResult(PARTY_OP_INVITE, membername, ERR_PLAYER_WRONG_FACTION);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user