Added guard against missing trader insuranceStart
mesages inside sendInsuredItems()
This commit is contained in:
parent
c1c74c726a
commit
0d9bd9a6d3
@ -134,7 +134,7 @@ export class InsuranceService
|
||||
sessionID,
|
||||
traderEnum,
|
||||
MessageType.NPC_TRADER,
|
||||
this.randomUtil.getArrayValue(dialogueTemplates?.insuranceStart),
|
||||
this.randomUtil.getArrayValue(dialogueTemplates?.insuranceStart ?? ["INSURANCE START MESSAGE MISSING"]),
|
||||
undefined,
|
||||
this.timeUtil.getHoursAsSeconds(
|
||||
globals.config.Insurance.MaxStorageTimeInHour,
|
||||
|
Loading…
x
Reference in New Issue
Block a user