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,
|
sessionID,
|
||||||
traderEnum,
|
traderEnum,
|
||||||
MessageType.NPC_TRADER,
|
MessageType.NPC_TRADER,
|
||||||
this.randomUtil.getArrayValue(dialogueTemplates?.insuranceStart),
|
this.randomUtil.getArrayValue(dialogueTemplates?.insuranceStart ?? ["INSURANCE START MESSAGE MISSING"]),
|
||||||
undefined,
|
undefined,
|
||||||
this.timeUtil.getHoursAsSeconds(
|
this.timeUtil.getHoursAsSeconds(
|
||||||
globals.config.Insurance.MaxStorageTimeInHour,
|
globals.config.Insurance.MaxStorageTimeInHour,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user