From d819aabd8b6adc4e1506631a363f591026f4f4d5 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 10 Aug 2025 20:22:30 +0200 Subject: [PATCH] Fix possible problems for interactions with increased enemy draw distance --- Questionable/Controller/Steps/Interactions/AetherCurrent.cs | 4 +++- Questionable/Controller/Steps/Interactions/Aetheryte.cs | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Questionable/Controller/Steps/Interactions/AetherCurrent.cs b/Questionable/Controller/Steps/Interactions/AetherCurrent.cs index 3f751441..5b82ef41 100644 --- a/Questionable/Controller/Steps/Interactions/AetherCurrent.cs +++ b/Questionable/Controller/Steps/Interactions/AetherCurrent.cs @@ -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; } diff --git a/Questionable/Controller/Steps/Interactions/Aetheryte.cs b/Questionable/Controller/Steps/Interactions/Aetheryte.cs index dd40fc69..d0bcb628 100644 --- a/Questionable/Controller/Steps/Interactions/Aetheryte.cs +++ b/Questionable/Controller/Steps/Interactions/Aetheryte.cs @@ -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; } -- 2.20.1