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