From aa7a60f40978f965e1b1fd8e837761e628e2a9e3 Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 16 Mar 2024 13:01:32 +0000 Subject: [PATCH] Adjust `itemHasBaseClass()` to log as debug instead of warning - fixes custom item mods spamming console with messages --- project/src/services/ItemBaseClassService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/services/ItemBaseClassService.ts b/project/src/services/ItemBaseClassService.ts index 7f0b2a0a..e9ed0493 100644 --- a/project/src/services/ItemBaseClassService.ts +++ b/project/src/services/ItemBaseClassService.ts @@ -101,7 +101,7 @@ export class ItemBaseClassService if (!this.itemBaseClassesCache[itemTpl]) { // Hydrate again - this.logger.warning(this.localisationService.getText("baseclass-item_not_found", itemTpl)); + this.logger.debug(this.localisationService.getText("baseclass-item_not_found", itemTpl)); this.hydrateItemBaseClassCache(); // Check for item again, throw exception if not found