mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
Fix oopsie
This commit is contained in:
parent
d7935d6dd4
commit
1bff6abae9
2 changed files with 4 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ using Dalamud.Game.NativeWrapper;
|
|||
using Dalamud.Utility;
|
||||
|
||||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
using FFXIVClientStructs.Interop;
|
||||
|
||||
namespace Dalamud.Game.Addon.Lifecycle.AddonArgTypes;
|
||||
|
||||
|
|
@ -54,7 +55,7 @@ public class AddonRefreshArgs : AddonArgs
|
|||
AtkValuePtr ptr;
|
||||
unsafe
|
||||
{
|
||||
ptr = new AtkValuePtr((nint)this.AtkValueSpan[i].Pointer);
|
||||
ptr = new AtkValuePtr((nint)this.AtkValueSpan.GetPointer(i));
|
||||
}
|
||||
|
||||
yield return ptr;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ using Dalamud.Game.NativeWrapper;
|
|||
using Dalamud.Utility;
|
||||
|
||||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
using FFXIVClientStructs.Interop;
|
||||
|
||||
namespace Dalamud.Game.Addon.Lifecycle.AddonArgTypes;
|
||||
|
||||
|
|
@ -54,7 +55,7 @@ public class AddonSetupArgs : AddonArgs
|
|||
AtkValuePtr ptr;
|
||||
unsafe
|
||||
{
|
||||
ptr = new AtkValuePtr((nint)this.AtkValueSpan[i].Pointer);
|
||||
ptr = new AtkValuePtr((nint)this.AtkValueSpan.GetPointer(i));
|
||||
}
|
||||
|
||||
yield return ptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue