Fix: Skip item when slots property is empty during generation of items pool
This commit is contained in:
parent
27a0df2d92
commit
9a419e80ef
@ -59,6 +59,12 @@ export class BotEquipmentModPoolService
|
||||
pool[item._id] = {};
|
||||
}
|
||||
|
||||
// No slots, skip
|
||||
if (!item._props.Slots)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
for (const slot of item._props.Slots)
|
||||
{
|
||||
const itemsThatFit = slot._props.filters[0].Filter;
|
||||
|
Loading…
Reference in New Issue
Block a user