mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
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)
|
||||
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 **/
|
||||
/********************/
|
||||
|
||||
Reference in New Issue
Block a user