Fix warning being logged constantly

This commit is contained in:
Dev 2024-03-07 13:44:43 +00:00
parent 479898ecab
commit f439f5888b

View File

@ -1648,7 +1648,11 @@ export class ItemHelper
if (!item.upd)
{
item.upd = {};
this.logger.warning(warningMessageWhenMissing);
if (warningMessageWhenMissing)
{
this.logger.warning(warningMessageWhenMissing);
}
return true;
}