Added guard against missing trader insuranceStart
mesages inside sendInsuredItems()
(cherry picked from commit 0d9bd9a6d3
)
This commit is contained in:
parent
7d57a80e20
commit
4a4d65ee4c
@ -110,7 +110,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…
Reference in New Issue
Block a user