Update HookCreator.cs

This commit is contained in:
KurobaM 2022-12-17 16:42:39 +08:00 committed by GitHub
parent 85c88a0fd7
commit 56601ac0bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,6 @@ namespace UnityExplorer.Hooks
Type type = ReflectionUtility.GetTypeByName(hookData.ReflectedType);
IEnumerable<MethodInfo> ms = type.GetMethods().Where(
mi => mi.FullDescription() == hookData.Description
)
);
MethodInfo method = ms.First();