From f57647287af1f47a1c4a503cde654d6ff8f4261c Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 16 Jul 2024 11:54:44 +0200 Subject: [PATCH] Core/GroupHander: Simplify 5e95f4db66aad68b67db351605cddf37cc5cdcb9 --- src/server/game/Handlers/GroupHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Handlers/GroupHandler.cpp b/src/server/game/Handlers/GroupHandler.cpp index 463092ee96306..7275e42183288 100644 --- a/src/server/game/Handlers/GroupHandler.cpp +++ b/src/server/game/Handlers/GroupHandler.cpp @@ -911,7 +911,7 @@ void WorldSession::HandleRequestPartyMemberStatsOpcode(WorldPacket &recvData) recvData >> Guid; Player* player = ObjectAccessor::FindConnectedPlayer(Guid); - if (!player || !player->GetGroup() || !GetPlayer()->GetGroup() || (player->GetGroup() != GetPlayer()->GetGroup())) + if (!player || !GetPlayer()->IsInSameRaidWith(player)) { WorldPacket data(SMSG_PARTY_MEMBER_STATS_FULL, 3+4+2); data << uint8(0); // only for SMSG_PARTY_MEMBER_STATS_FULL, probably arena/bg related