mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-24 21:51:49 +01:00
Invert condition for assembly marshaling check
This commit is contained in:
parent
143387bad3
commit
40417e25b6
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ internal static class HookVerifier
|
|||
}
|
||||
|
||||
var passedType = typeof(T);
|
||||
var isAssemblyMarshaled = passedType.Assembly.GetCustomAttribute<DisableRuntimeMarshallingAttribute>() is not null;
|
||||
var isAssemblyMarshaled = passedType.Assembly.GetCustomAttribute<DisableRuntimeMarshallingAttribute>() is null;
|
||||
|
||||
// Directly compare delegates
|
||||
if (passedType == entry.TargetDelegateType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue