importing changes from callmephil repo
a special thanks to him
This commit is contained in:
parent
5bb70a86be
commit
52f305111c
49 changed files with 4333 additions and 3252 deletions
|
|
@ -435,7 +435,7 @@ void WorldSession::HandlePetitionSignOpcode(WorldPacket & recvData)
|
|||
return;
|
||||
|
||||
// not let enemies sign guild charter
|
||||
if (GetPlayer()->GetTeamId() != sObjectMgr->GetPlayerTeamIdByGUID(ownerGuid))
|
||||
if (!sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD) && GetPlayer()->GetTeamId() != sObjectMgr->GetPlayerTeamIdByGUID(ownerGuid))
|
||||
{
|
||||
if (type != GUILD_CHARTER_TYPE)
|
||||
SendArenaTeamCommandResult(ERR_ARENA_TEAM_INVITE_SS, "", "", ERR_ARENA_TEAM_NOT_ALLIED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue