diff --git a/project/src/controllers/QuestController.ts b/project/src/controllers/QuestController.ts index adf65d26..f38be134 100644 --- a/project/src/controllers/QuestController.ts +++ b/project/src/controllers/QuestController.ts @@ -215,6 +215,12 @@ export class QuestController */ protected playerLevelFulfillsQuestRequirement(quest: IQuest, playerLevel: number): boolean { + if (!quest.conditions) + { + // No conditions + return true; + } + const levelConditions = this.questConditionHelper.getLevelConditions(quest.conditions.AvailableForStart); if (levelConditions.length) {