Task logc fixes
authorLiza Carvelli <liza@carvel.li>
Wed, 18 Sep 2024 20:46:52 +0000 (22:46 +0200)
committerLiza Carvelli <liza@carvel.li>
Wed, 18 Sep 2024 20:46:52 +0000 (22:46 +0200)
Questionable/Controller/MiniTaskController.cs
Questionable/Controller/Steps/Shared/AetheryteShortcut.cs

index b99cd35f94ca78ada53836ebbb13d6fee62c621d..12eb166088aa4f9788ef4384a5ee310fb316d339 100644 (file)
@@ -103,6 +103,7 @@ internal abstract class MiniTaskController<T>
                     {
                         ITaskExecutor taskExecutor =
                             _serviceProvider.GetRequiredKeyedService<ITaskExecutor>(nextTask.GetType());
+                        taskExecutor.Start(nextTask);
                         _taskQueue.CurrentTaskExecutor = taskExecutor;
                         return;
                     }
index ba1e0211b1b37ccc3b99b41fc7eec426eb073265..c059df46f3943034359e403495e876f5d5cf6869 100644 (file)
@@ -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})";
     }
 }