diff --git a/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs b/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs index 57433ae..68cc08a 100644 --- a/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs +++ b/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs @@ -344,6 +344,7 @@ namespace MLAPI.NetworkingManagerComponents.Binary foreach (var element in t as Array) count += GetBitCount(element); } + else if (type == typeof(Partial)) return (byte)Partial.count_info.GetValue(t); else if (IsSupportedType(type)) { long ba = t is bool ? 1 : BytesToRead(t)*8;