Add missing param
This commit is contained in:
parent
06c60b9fd9
commit
31198120a1
@ -139,7 +139,7 @@ export class BotEquipmentModGenerator
|
||||
}
|
||||
|
||||
const modTemplate = this.itemHelper.getItem(modTpl);
|
||||
if (!this.isModValidForSlot(modTemplate, itemSlot, modSlot, parentTemplate))
|
||||
if (!this.isModValidForSlot(modTemplate, itemSlot, modSlot, parentTemplate, botRole))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@ -846,6 +846,7 @@ export class BotEquipmentModGenerator
|
||||
modId: modToAdd[1]._id,
|
||||
modSlot: modSlot,
|
||||
parentName: parentTemplate._name,
|
||||
botRole: botRole
|
||||
}),
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user