diff --git a/Mirror/Weaver/Processors/SyncEventProcessor.cs b/Mirror/Weaver/Processors/SyncEventProcessor.cs index 980e48bdd..fbc957a8e 100644 --- a/Mirror/Weaver/Processors/SyncEventProcessor.cs +++ b/Mirror/Weaver/Processors/SyncEventProcessor.cs @@ -127,7 +127,7 @@ public static void ProcessEvents(TypeDefinition td, List events } events.Add(ed); - MethodDefinition eventFunc = SyncEventProcessor.ProcessEventInvoke(td, ed); + MethodDefinition eventFunc = ProcessEventInvoke(td, ed); if (eventFunc == null) { return; @@ -138,7 +138,7 @@ public static void ProcessEvents(TypeDefinition td, List events Weaver.DLog(td, "ProcessEvent " + ed); - MethodDefinition eventCallFunc = SyncEventProcessor.ProcessEventCall(td, ed, ca); + MethodDefinition eventCallFunc = ProcessEventCall(td, ed, ca); td.Methods.Add(eventCallFunc); Weaver.lists.replacedEvents.Add(ed);