This commit is contained in:
Liza 2024-09-10 20:44:47 +02:00
parent 9deacfbb4a
commit d54bd048ff
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -318,7 +318,8 @@ internal sealed class QuestController : MiniTaskController<QuestController>, IDi
_logger.LogInformation("New quest: {QuestName}", quest.Info.Name);
_startedQuest = new QuestProgress(quest, currentSequence);
if (_clientState.LocalPlayer!.Level < quest.Info.Level)
if (_clientState.LocalPlayer != null &&
_clientState.LocalPlayer.Level < quest.Info.Level)
{
_logger.LogInformation(
"Stopping automation, player level ({PlayerLevel}) < quest level ({QuestLevel}",