diff --git a/project/src/services/ProfileFixerService.ts b/project/src/services/ProfileFixerService.ts index ad11a60a..4ee9ce58 100644 --- a/project/src/services/ProfileFixerService.ts +++ b/project/src/services/ProfileFixerService.ts @@ -563,6 +563,10 @@ export class ProfileFixerService this.logger.debug("Missing RepeatableQuests property added to profile"); } } + else + { + pmcProfile.RepeatableQuests = []; + } } /** @@ -925,7 +929,7 @@ export class ProfileFixerService } } - for (const repeatable of fullProfile.characters.pmc.RepeatableQuests) + for (const repeatable of fullProfile.characters.pmc.RepeatableQuests ?? []) { for (const activeQuest of repeatable.activeQuests ?? []) {