Task logc fixes

master
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 =
_serviceProvider.GetRequiredKeyedService<ITaskExecutor>(nextTask.GetType());
taskExecutor.Start(nextTask);
_taskQueue.CurrentTaskExecutor = taskExecutor;
return;
}

View 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})";
}
}