Added null protection inside lightkeeperQuestWorkaround()
related to daily quests
This commit is contained in:
parent
731d9f3f0b
commit
38f20e76ea
@ -715,7 +715,7 @@ export class LocationLifecycleService {
|
|||||||
(preRaidQuest) =>
|
(preRaidQuest) =>
|
||||||
preRaidQuest.qid === postRaidQuest.qid && preRaidQuest.status !== QuestStatus.Success,
|
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
|
// Run server complete quest process to ensure player gets rewards
|
||||||
|
Loading…
Reference in New Issue
Block a user