Skip adding items to mod pool if item has no _props property instead of just showing error

This commit is contained in:
Dev 2023-05-01 15:27:33 +01:00
parent 8b192d26bb
commit f340e55924

View File

@ -45,6 +45,8 @@ export class BotEquipmentModPoolService
if (!item._props)
{
this.logger.error(`Item ${item._id} ${item._name} is missing a _props property`);
continue;
}
// skip item witout slots