mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 13:37:01 +00:00
[11938] Replace use of HashMapFolder.Find<Player> with ObjectAccessor::FindPlayer wrapper
This commit is contained in:
parent
feb139de71
commit
95ce0c927c
3 changed files with 5 additions and 5 deletions
|
|
@ -811,8 +811,8 @@ void WorldSession::HandleRequestPartyMemberStatsOpcode( WorldPacket &recv_data )
|
|||
ObjectGuid guid;
|
||||
recv_data >> guid;
|
||||
|
||||
Player * player = HashMapHolder<Player>::Find(guid);
|
||||
if(!player)
|
||||
Player* player = ObjectAccessor::FindPlayer(guid, false);
|
||||
if (!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