From 421f6a1a970371f3cad00d4b1d6cb2594e71fd34 Mon Sep 17 00:00:00 2001 From: Infi Date: Fri, 15 Nov 2024 17:26:49 +0100 Subject: [PATCH] JobGauge - Use the fields pointer value as address, not the fields address --- Dalamud/Game/ClientState/JobGauge/JobGauges.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Game/ClientState/JobGauge/JobGauges.cs b/Dalamud/Game/ClientState/JobGauge/JobGauges.cs index 5a734ed87..a276cfe57 100644 --- a/Dalamud/Game/ClientState/JobGauge/JobGauges.cs +++ b/Dalamud/Game/ClientState/JobGauge/JobGauges.cs @@ -28,7 +28,7 @@ private JobGauges() } /// - public unsafe IntPtr Address => (nint)(&CSJobGaugeManager.Instance()->CurrentGauge); + public unsafe IntPtr Address => (nint)CSJobGaugeManager.Instance()->CurrentGauge; /// public T Get() where T : JobGaugeBase