From d776498360b204e7b36b861f62ecb2826831443e Mon Sep 17 00:00:00 2001 From: Haselnussbomber Date: Mon, 16 Feb 2026 22:27:57 +0100 Subject: [PATCH] Make AtkValuePtr.TryGet out non-nullable struct --- Dalamud/Game/NativeWrapper/AtkValuePtr.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Game/NativeWrapper/AtkValuePtr.cs b/Dalamud/Game/NativeWrapper/AtkValuePtr.cs index b274d388b..a8111d736 100644 --- a/Dalamud/Game/NativeWrapper/AtkValuePtr.cs +++ b/Dalamud/Game/NativeWrapper/AtkValuePtr.cs @@ -87,7 +87,7 @@ public readonly unsafe struct AtkValuePtr(nint address) : IEquatable /// true if the value was successfully extracted and matched ; otherwise, false. /// - public unsafe bool TryGet([NotNullWhen(true)] out T? result) where T : struct + public unsafe bool TryGet(out T result) where T : struct { var value = this.GetValue(); if (value is T typed)