diff --git a/BeatTogether.DedicatedServer.Messaging/Models/MultiplayerAvatarsData.cs b/BeatTogether.DedicatedServer.Messaging/Models/MultiplayerAvatarsData.cs index f0d57aa3..7086e558 100644 --- a/BeatTogether.DedicatedServer.Messaging/Models/MultiplayerAvatarsData.cs +++ b/BeatTogether.DedicatedServer.Messaging/Models/MultiplayerAvatarsData.cs @@ -51,7 +51,7 @@ public void WriteToAvatarsData(ref SpanBuffer writer) writer.WriteInt32(AvatarsData.Count); foreach (MultiplayerAvatarData multiplayerAvatarData in AvatarsData) { - writer.WriteVarUInt(multiplayerAvatarData.AvatarTypeIdentifierHash); + writer.WriteUInt32(multiplayerAvatarData.AvatarTypeIdentifierHash); writer.WriteByteArray(multiplayerAvatarData.Data); } }