Task logc fixes

This commit is contained in:
Liza 2024-09-18 22:46:52 +02:00
parent 7e9070950e
commit b85ab8afe7
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 2 additions and 2 deletions

View File

@ -103,6 +103,7 @@ internal abstract class MiniTaskController<T>
{ {
ITaskExecutor taskExecutor = ITaskExecutor taskExecutor =
_serviceProvider.GetRequiredKeyedService<ITaskExecutor>(nextTask.GetType()); _serviceProvider.GetRequiredKeyedService<ITaskExecutor>(nextTask.GetType());
taskExecutor.Start(nextTask);
_taskQueue.CurrentTaskExecutor = taskExecutor; _taskQueue.CurrentTaskExecutor = taskExecutor;
return; return;
} }

View File

@ -35,6 +35,7 @@ internal static class AetheryteShortcut
EAetheryteLocation TargetAetheryte, EAetheryteLocation TargetAetheryte,
ushort ExpectedTerritoryId) : ISkippableTask ushort ExpectedTerritoryId) : ISkippableTask
{ {
public override string ToString() => $"UseAetheryte({TargetAetheryte})";
} }
internal sealed class UseAetheryteShortcut( internal sealed class UseAetheryteShortcut(
@ -204,7 +205,5 @@ internal static class AetheryteShortcut
throw new TaskException("Unable to teleport to aetheryte"); throw new TaskException("Unable to teleport to aetheryte");
} }
} }
public override string ToString() => $"UseAetheryte({Task.TargetAetheryte})";
} }
} }