Adjust itemHasBaseClass() to log as debug instead of warning - fixes custom item mods spamming console with messages

This commit is contained in:
Dev 2024-03-16 13:01:32 +00:00
parent 8984711cba
commit aa7a60f409

View File

@ -101,7 +101,7 @@ export class ItemBaseClassService
if (!this.itemBaseClassesCache[itemTpl]) if (!this.itemBaseClassesCache[itemTpl])
{ {
// Hydrate again // 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(); this.hydrateItemBaseClassCache();
// Check for item again, throw exception if not found // Check for item again, throw exception if not found