diff --git a/UniTAS/Patcher/Implementations/GUI/TerminalCommands/Patch.cs b/UniTAS/Patcher/Implementations/GUI/TerminalCommands/Patch.cs index 8c635514..f913b718 100644 --- a/UniTAS/Patcher/Implementations/GUI/TerminalCommands/Patch.cs +++ b/UniTAS/Patcher/Implementations/GUI/TerminalCommands/Patch.cs @@ -215,7 +215,7 @@ public static MethodInfo Get(MethodBase targetTypeMethod) param.Name = argNames[i]; } - var patchBody = AccessTools.Method(typeof(LiveScripting), nameof(PatchBody)); + var patchBody = AccessTools.Method(typeof(Patch), nameof(PatchBody)); var il = dmd.GetILGenerator();