mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 05:10:45 -05:00
Added nullguard to showQuestItemHandoverMatchError()
This commit is contained in:
parent
ed3e16a94f
commit
014826e683
@ -904,7 +904,7 @@ export class QuestController
|
|||||||
{
|
{
|
||||||
const errorMessage = this.localisationService.getText("quest-handover_wrong_item", {
|
const errorMessage = this.localisationService.getText("quest-handover_wrong_item", {
|
||||||
questId: handoverQuestRequest.qid,
|
questId: handoverQuestRequest.qid,
|
||||||
handedInTpl: itemHandedOver._tpl,
|
handedInTpl: itemHandedOver?._tpl ?? "UNKNOWN",
|
||||||
requiredTpl: handoverRequirements.target[0],
|
requiredTpl: handoverRequirements.target[0],
|
||||||
});
|
});
|
||||||
this.logger.error(errorMessage);
|
this.logger.error(errorMessage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user