From 0435b098101874b6bc00a3ebd728c838009c65f0 Mon Sep 17 00:00:00 2001 From: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:56:34 -0800 Subject: [PATCH] Fix exception when heal item can't be found --- project/src/controllers/HealthController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/controllers/HealthController.ts b/project/src/controllers/HealthController.ts index 44f8f199..79a62849 100644 --- a/project/src/controllers/HealthController.ts +++ b/project/src/controllers/HealthController.ts @@ -51,7 +51,7 @@ export class HealthController { if (!healingItemToUse) { const errorMessage = this.localisationService.getText( "health-healing_item_not_found", - healingItemToUse._id, + request.item, ); this.logger.error(errorMessage);