mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Added nullguard to showQuestItemHandoverMatchError()
(cherry picked from commit 014826e683d585894b8a628645a59caf0ae36d11)
This commit is contained in:
parent
ec76a8897f
commit
776a41499f
@ -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