From eb8e431267b98cf5a8deb635d75d178e1758164a Mon Sep 17 00:00:00 2001 From: wolfcomp <4028289+wolfcomp@users.noreply.github.com> Date: Fri, 13 Feb 2026 11:22:29 +0100 Subject: [PATCH] Invert condition for assembly marshaling check --- Dalamud/Hooking/Internal/Verification/HookVerifier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Hooking/Internal/Verification/HookVerifier.cs b/Dalamud/Hooking/Internal/Verification/HookVerifier.cs index bad7dc470..98568a567 100644 --- a/Dalamud/Hooking/Internal/Verification/HookVerifier.cs +++ b/Dalamud/Hooking/Internal/Verification/HookVerifier.cs @@ -74,7 +74,7 @@ internal static class HookVerifier } var passedType = typeof(T); - var isAssemblyMarshaled = passedType.Assembly.GetCustomAttribute() is not null; + var isAssemblyMarshaled = passedType.Assembly.GetCustomAttribute() is null; // Directly compare delegates if (passedType == entry.TargetDelegateType)