From b85ab8afe7044b0fda10f90ce4e5e385bf10ca94 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Wed, 18 Sep 2024 22:46:52 +0200 Subject: [PATCH] Task logc fixes --- Questionable/Controller/MiniTaskController.cs | 1 + Questionable/Controller/Steps/Shared/AetheryteShortcut.cs | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Questionable/Controller/MiniTaskController.cs b/Questionable/Controller/MiniTaskController.cs index b99cd35f9..12eb16608 100644 --- a/Questionable/Controller/MiniTaskController.cs +++ b/Questionable/Controller/MiniTaskController.cs @@ -103,6 +103,7 @@ internal abstract class MiniTaskController { ITaskExecutor taskExecutor = _serviceProvider.GetRequiredKeyedService(nextTask.GetType()); + taskExecutor.Start(nextTask); _taskQueue.CurrentTaskExecutor = taskExecutor; return; } diff --git a/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs b/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs index ba1e0211b..c059df46f 100644 --- a/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs +++ b/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs @@ -35,6 +35,7 @@ internal static class AetheryteShortcut EAetheryteLocation TargetAetheryte, ushort ExpectedTerritoryId) : ISkippableTask { + public override string ToString() => $"UseAetheryte({TargetAetheryte})"; } internal sealed class UseAetheryteShortcut( @@ -204,7 +205,5 @@ internal static class AetheryteShortcut throw new TaskException("Unable to teleport to aetheryte"); } } - - public override string ToString() => $"UseAetheryte({Task.TargetAetheryte})"; } }