fix(Core/Handlers): Remove error message when leaving group in battleground. (#24712)

This commit is contained in:
Benjamin Jackson
2026-02-16 12:31:45 -05:00
committed by GitHub
parent 2ed3d0bc21
commit fd7bde14e7

View File

@@ -439,11 +439,8 @@ void WorldSession::HandleGroupDisbandOpcode(WorldPacket& /*recvData*/)
if (!grp && !grpInvite)
return;
if (_player->InBattleground())
{
SendPartyResult(PARTY_OP_INVITE, "", ERR_INVITE_RESTRICTED);
if (_player->InBattleground()) // Do not leave group, give no error. Verified on TBC Classic
return;
}
/** error handling **/
/********************/