From e342afe3ffbe3134c4eb66b881779d5aa21243f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Cor=C3=A9n?= <2108U9@gmail.com> Date: Wed, 18 Apr 2018 11:43:33 +0200 Subject: [PATCH] Made PushArray private in BitWriter --- MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs b/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs index 77bba00..081fd41 100644 --- a/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs +++ b/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs @@ -105,7 +105,7 @@ namespace MLAPI.NetworkingManagerComponents.Binary public void WriteIntArray(int[] i, bool known = false) => PushArray(i, known); public void WriteLongArray(long[] l, bool known = false) => PushArray(l, known); - public void PushArray(T[] t, bool knownSize = false) + private void PushArray(T[] t, bool knownSize = false) { if (!knownSize) Push((uint)t.Length); bool signed = IsSigned(t.GetType().GetElementType());