Skip to content

Commit

Permalink
Core/GroupHander: Simplify 5e95f4d
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Jul 16, 2024
1 parent 5e95f4d commit f576472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Handlers/GroupHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f576472

Please sign in to comment.