mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Switch from CurrentGauge pointer to using the gauge fields address directly (#2094)
This commit is contained in:
parent
8ccac255cb
commit
c2588cec6b
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ internal class JobGauges : IServiceType, IJobGauges
|
|||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public unsafe IntPtr Address => (nint)(CSJobGaugeManager.Instance()->CurrentGauge);
|
||||
public unsafe IntPtr Address => (nint)(&CSJobGaugeManager.Instance()->EmptyGauge);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public T Get<T>() where T : JobGaugeBase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue