Skip to content

Commit

Permalink
fixed not updating the patchBody method to be searched
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddio0141 committed Aug 28, 2024
1 parent 0571cab commit b5c6c48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit b5c6c48

Please sign in to comment.