Skip adding items to mod pool if item has no _props property instead of just showing error
This commit is contained in:
parent
8b192d26bb
commit
f340e55924
@ -45,6 +45,8 @@ export class BotEquipmentModPoolService
|
|||||||
if (!item._props)
|
if (!item._props)
|
||||||
{
|
{
|
||||||
this.logger.error(`Item ${item._id} ${item._name} is missing a _props property`);
|
this.logger.error(`Item ${item._id} ${item._name} is missing a _props property`);
|
||||||
|
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip item witout slots
|
// skip item witout slots
|
||||||
|
Loading…
Reference in New Issue
Block a user