From 113eb2a8f0055ac35d25bfb11c76610800c86a3a Mon Sep 17 00:00:00 2001 From: vis2k Date: Sun, 30 Dec 2018 17:24:36 +0100 Subject: [PATCH] NetworkBehaviour: removed unused ContainsCommandDelegate function --- Mirror/Runtime/NetworkBehaviour.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Mirror/Runtime/NetworkBehaviour.cs b/Mirror/Runtime/NetworkBehaviour.cs index 765f0e3a4..8d7a05aa2 100644 --- a/Mirror/Runtime/NetworkBehaviour.cs +++ b/Mirror/Runtime/NetworkBehaviour.cs @@ -294,11 +294,6 @@ static bool GetInvokerForHash(int cmdHash, UNetInvokeType invokeType, out CmdDel return true; } - internal bool ContainsCommandDelegate(int cmdHash) - { - return s_CmdHandlerDelegates.ContainsKey(cmdHash); - } - internal bool InvokeCommandDelegate(int cmdHash, NetworkReader reader) { if (!s_CmdHandlerDelegates.ContainsKey(cmdHash))