refactor(Core): SendDirectMessage (#23230)

This commit is contained in:
天鹭
2025-10-31 01:21:26 +08:00
committed by GitHub
parent b737fc8b59
commit a1c8e0f221
57 changed files with 236 additions and 236 deletions

View File

@@ -160,7 +160,7 @@ void WorldSession::HandleArenaTeamInviteOpcode(WorldPacket& recvData)
WorldPacket data(SMSG_ARENA_TEAM_INVITE, (8 + 10));
data << GetPlayer()->GetName();
data << arenaTeam->GetName();
player->GetSession()->SendPacket(&data);
player->SendDirectMessage(&data);
LOG_DEBUG("network", "WORLD: Sent SMSG_ARENA_TEAM_INVITE");
}