mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-24 01:12:41 +08:00
Revert "Use PatchProcessor ctor directly instead of Harmony.CreatePatchProcessor"
This reverts commit 9c1d459655
.
This commit is contained in:
@ -61,7 +61,7 @@ namespace UnityExplorer.Hooks
|
||||
|
||||
try
|
||||
{
|
||||
patchProcessor = ExplorerCore.CreatePatch(TargetMethod);
|
||||
patchProcessor = ExplorerCore.Harmony.CreateProcessor(TargetMethod);
|
||||
|
||||
// Dynamically compile the patch method
|
||||
|
||||
|
Reference in New Issue
Block a user