fix(Core/Handlers): Don't allow data to be sent while not grouped. (#19852)
Init. https: //github.com/TrinityCore/TrinityCore/commit/f57647287af1f47a1c4a503cde654d6ff8f4261c Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
parent
0504c7f9de
commit
0158fa3e9e
1 changed files with 1 additions and 1 deletions
|
|
@ -956,7 +956,7 @@ void WorldSession::HandleRequestPartyMemberStatsOpcode(WorldPacket& recvData)
|
|||
recvData >> Guid;
|
||||
|
||||
Player* player = HashMapHolder<Player>::Find(Guid);
|
||||
if (!player)
|
||||
if (!player || !player->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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue