diff --git a/project/src/services/LocationLifecycleService.ts b/project/src/services/LocationLifecycleService.ts index 43c69be0..59301734 100644 --- a/project/src/services/LocationLifecycleService.ts +++ b/project/src/services/LocationLifecycleService.ts @@ -715,7 +715,7 @@ export class LocationLifecycleService { (preRaidQuest) => preRaidQuest.qid === postRaidQuest.qid && preRaidQuest.status !== QuestStatus.Success, ) && - this.databaseService.getQuests()[postRaidQuest.qid].traderId === Traders.LIGHTHOUSEKEEPER, + this.databaseService.getQuests()[postRaidQuest.qid]?.traderId === Traders.LIGHTHOUSEKEEPER, ); // Run server complete quest process to ensure player gets rewards