diff --git a/src/Core/Reflection/Patches.cs b/src/Core/Reflection/Patches.cs index f7f8f2c..658008e 100644 --- a/src/Core/Reflection/Patches.cs +++ b/src/Core/Reflection/Patches.cs @@ -15,7 +15,7 @@ namespace UnityExplorer { var method = typeof(Assembly).GetMethod(nameof(Assembly.GetTypes), new Type[0]); var processor = ExplorerCore.Harmony.CreateProcessor(method); - processor.AddFinalizer(typeof(ReflectionPatches).GetMethod(nameof(ReflectionPatches.Assembly_GetTypes))); + processor.AddFinalizer(typeof(ReflectionPatches).GetMethod(nameof(Assembly_GetTypes))); processor.Patch(); } catch (Exception ex)