From fc02d76af775b000b4079ba9cea8baa08cce38f4 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Wed, 20 Aug 2025 10:19:11 -0400 Subject: [PATCH] Core/PacketIO: Fixed SMSG_PVP_MATCH_COMPLETE structure Port From (https://github.com/TrinityCore/TrinityCore/commit/1de5399640261126fed14f4aa0735cc50a4df071) --- Source/Game/Networking/Packets/BattleGroundPackets.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Game/Networking/Packets/BattleGroundPackets.cs b/Source/Game/Networking/Packets/BattleGroundPackets.cs index 961f44620..fe64a066f 100644 --- a/Source/Game/Networking/Packets/BattleGroundPackets.cs +++ b/Source/Game/Networking/Packets/BattleGroundPackets.cs @@ -532,7 +532,7 @@ namespace Game.Networking.Packets public override void Write() { - _worldPacket.WriteUInt8(Winner); + _worldPacket.WriteInt32(Winner); _worldPacket.WriteInt64(Duration); _worldPacket.WriteBit(LogData != null); _worldPacket.WriteBits(SoloShuffleStatus, 2); @@ -542,7 +542,7 @@ namespace Game.Networking.Packets LogData.Write(_worldPacket); } - public byte Winner; + public int Winner; public long Duration; public PVPMatchStatistics LogData; public uint SoloShuffleStatus;