Fix possible problems for interactions with increased enemy draw distance
authorLiza Carvelli <liza@carvel.li>
Sun, 10 Aug 2025 18:22:30 +0000 (20:22 +0200)
committerLiza Carvelli <liza@carvel.li>
Sun, 10 Aug 2025 18:22:30 +0000 (20:22 +0200)
Questionable/Controller/Steps/Interactions/AetherCurrent.cs
Questionable/Controller/Steps/Interactions/Aetheryte.cs

index 3f75144..5b82ef4 100644 (file)
@@ -1,4 +1,5 @@
 using System;
+using Dalamud.Game.ClientState.Objects.Enums;
 using Dalamud.Plugin.Services;
 using Microsoft.Extensions.Logging;
 using Questionable.Data;
@@ -51,7 +52,8 @@ internal static class AetherCurrent
                 logger.LogInformation("Attuning to aether current {AetherCurrentId} / {DataId}", Task.AetherCurrentId,
                     Task.DataId);
                 ProgressContext =
-                    InteractionProgressContext.FromActionUseOrDefault(() => gameFunctions.InteractWith(Task.DataId));
+                    InteractionProgressContext.FromActionUseOrDefault(() =>
+                        gameFunctions.InteractWith(Task.DataId, ObjectKind.EventObj));
                 return true;
             }
 
index dd40fc6..d0bcb62 100644 (file)
@@ -1,4 +1,5 @@
 using System;
+using Dalamud.Game.ClientState.Objects.Enums;
 using Microsoft.Extensions.Logging;
 using Questionable.Functions;
 using Questionable.Model;
@@ -40,7 +41,7 @@ internal static class Aetheryte
                 logger.LogInformation("Attuning to aetheryte {Aetheryte}", Task.AetheryteLocation);
                 ProgressContext =
                     InteractionProgressContext.FromActionUseOrDefault(() =>
-                        gameFunctions.InteractWith((uint)Task.AetheryteLocation));
+                        gameFunctions.InteractWith((uint)Task.AetheryteLocation, ObjectKind.Aetheryte));
                 return true;
             }