mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
refactor(Core): SendDirectMessage (#23230)
This commit is contained in:
@@ -354,7 +354,7 @@ void AuctionHouseSearcher::Update()
|
||||
{
|
||||
Player* player = ObjectAccessor::FindConnectedPlayer(response->playerGuid);
|
||||
if (player)
|
||||
player->GetSession()->SendPacket(&response->packet);
|
||||
player->SendDirectMessage(&response->packet);
|
||||
|
||||
delete response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user