mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-25 14:11:48 +01:00
Fix type size check on return type
This commit is contained in:
parent
90ffa0aa9a
commit
44240bd19a
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ internal static class HookVerifier
|
|||
var enforcedInvoke = entry.TargetDelegateType.GetMethod("Invoke")!;
|
||||
|
||||
// Compare Return Type
|
||||
var mismatch = passedInvoke.ReturnType != enforcedInvoke.ReturnType;
|
||||
var mismatch = !CheckParam(passedInvoke.ReturnType, enforcedInvoke.ReturnType);
|
||||
|
||||
// Compare Parameter Count
|
||||
var passedParams = passedInvoke.GetParameters();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue