mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Packets: Fix writing WorldPackets::Duel::DuelCountdown
This commit is contained in:
@@ -75,8 +75,9 @@ void WorldSession::HandleDuelAccepted()
|
||||
plTarget->duel->startTimer = now;
|
||||
|
||||
WorldPackets::Duel::DuelCountdown packet(3000); // milliseconds
|
||||
player->GetSession()->SendPacket(packet.Write());
|
||||
plTarget->GetSession()->SendPacket(packet.Write());
|
||||
WorldPacket const* worldPacket = packet.Write();
|
||||
player->GetSession()->SendPacket(worldPacket);
|
||||
plTarget->GetSession()->SendPacket(worldPacket);
|
||||
}
|
||||
|
||||
void WorldSession::HandleDuelCancelled()
|
||||
|
||||
Reference in New Issue
Block a user