potential fix for custom trader issue
This commit is contained in:
parent
beb7c5069b
commit
dbf9955272
@ -651,7 +651,7 @@ export class GameController
|
||||
if (!traderAssorts.loyal_level_items[assortKey])
|
||||
{
|
||||
// reverse lookup of enum key by value
|
||||
this.logger.debug(this.localisationService.getText("assort-missing_quest_assort_unlock", {traderName: Object.keys(Traders)[Object.values(Traders).indexOf(traderId)], questName: quests[questKey].QuestName}));
|
||||
this.logger.debug(this.localisationService.getText("assort-missing_quest_assort_unlock", {traderName: Object.keys(Traders)[Object.values(Traders).indexOf(traderId)], questName: quests[questKey]?.QuestName ?? "UNKNOWN"}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user