GetRpcMethod does not need an instance

This commit is contained in:
Paul Pacheco 2019-09-19 23:31:43 -05:00
parent bc87649be6
commit 5985e6d641

View File

@ -445,7 +445,7 @@ internal bool InvokeHandlerDelegate(int cmdHash, MirrorInvokeType invokeType, Ne
/// </summary>
/// <param name="cmdHash">rpc function hash</param>
/// <returns>The function delegate that will handle the command</returns>
public CmdDelegate GetRpcHandler(int cmdHash)
public static CmdDelegate GetRpcHandler(int cmdHash)
{
if (cmdHandlerDelegates.TryGetValue(cmdHash, out Invoker invoker))
{