mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
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);
|
const modTemplate = this.itemHelper.getItem(modTpl);
|
||||||
if (!this.isModValidForSlot(modTemplate, itemSlot, modSlot, parentTemplate))
|
if (!this.isModValidForSlot(modTemplate, itemSlot, modSlot, parentTemplate, botRole))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -846,6 +846,7 @@ export class BotEquipmentModGenerator
|
|||||||
modId: modToAdd[1]._id,
|
modId: modToAdd[1]._id,
|
||||||
modSlot: modSlot,
|
modSlot: modSlot,
|
||||||
parentName: parentTemplate._name,
|
parentName: parentTemplate._name,
|
||||||
|
botRole: botRole
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user