Skip to content

Commit

Permalink
JobGauge - Use the fields pointer value as address, not the fields ad…
Browse files Browse the repository at this point in the history
…dress
  • Loading branch information
Infiziert90 committed Nov 15, 2024
1 parent b43a6b6 commit 421f6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dalamud/Game/ClientState/JobGauge/JobGauges.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ private JobGauges()
}

/// <inheritdoc/>
public unsafe IntPtr Address => (nint)(&CSJobGaugeManager.Instance()->CurrentGauge);
public unsafe IntPtr Address => (nint)CSJobGaugeManager.Instance()->CurrentGauge;

/// <inheritdoc/>
public T Get<T>() where T : JobGaugeBase
Expand Down

0 comments on commit 421f6a1

Please sign in to comment.