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
+1 -4
View File
@@ -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 **/
/********************/ /********************/