From 8904aebcb4d6943b7dfeb20942f1cfb22f2cf161 Mon Sep 17 00:00:00 2001 From: D1GQ Date: Fri, 29 May 2026 12:55:25 -0500 Subject: [PATCH] Fix and correct usage of Packed --- examples/moddedsupport/SendBAUSupportFlagsExamplePatch.cs | 2 +- src/Mono/Extended/ExtendedPlayerInfo.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/moddedsupport/SendBAUSupportFlagsExamplePatch.cs b/examples/moddedsupport/SendBAUSupportFlagsExamplePatch.cs index 8f666dc..df664b0 100644 --- a/examples/moddedsupport/SendBAUSupportFlagsExamplePatch.cs +++ b/examples/moddedsupport/SendBAUSupportFlagsExamplePatch.cs @@ -34,7 +34,7 @@ internal static class SendBAUSupportFlagsExamplePatch writer.Write("bau:flags"); // Mark message as BAU flags writer.WritePacked(1); // Amount of flags we are sending - writer.WritePacked(GetFlagHash("command.force.bau.prefix")); // Send flag hash, most use GetFlagHash with the exact logic in this example! + writer.Write(GetFlagHash("command.force.bau.prefix")); // Send flag hash, most use GetFlagHash with the exact logic in this example! } /// diff --git a/src/Mono/Extended/ExtendedPlayerInfo.cs b/src/Mono/Extended/ExtendedPlayerInfo.cs index 9ba567d..a1cd069 100644 --- a/src/Mono/Extended/ExtendedPlayerInfo.cs +++ b/src/Mono/Extended/ExtendedPlayerInfo.cs @@ -113,7 +113,7 @@ internal sealed class ExtendedPlayerInfo : MonoBehaviour, IMonoExtension