fix(Core/Handlers): Remove error message when leaving group in battleground. (#24712)
This commit is contained in:
@@ -439,11 +439,8 @@ void WorldSession::HandleGroupDisbandOpcode(WorldPacket& /*recvData*/)
|
|||||||
if (!grp && !grpInvite)
|
if (!grp && !grpInvite)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_player->InBattleground())
|
if (_player->InBattleground()) // Do not leave group, give no error. Verified on TBC Classic
|
||||||
{
|
|
||||||
SendPartyResult(PARTY_OP_INVITE, "", ERR_INVITE_RESTRICTED);
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
/** error handling **/
|
/** error handling **/
|
||||||
/********************/
|
/********************/
|
||||||
|
|||||||
Reference in New Issue
Block a user