From a2f22051f030cc938b5ec639721fdc923eac14a2 Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Thu, 19 Aug 2021 16:19:49 +1000 Subject: [PATCH] Cleanup --- src/Core/Reflection/Patches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)