Fix server error when adding lootable armor to raid
This commit is contained in:
parent
ac002fb548
commit
5a57895998
@ -858,6 +858,10 @@ export class LocationGenerator
|
||||
}
|
||||
else if (this.itemHelper.isOfBaseclasses(chosenTpl, [BaseClasses.VEST, BaseClasses.ARMOR, BaseClasses.HEADWEAR]))
|
||||
{
|
||||
itemWithMods.push({
|
||||
_id: this.objectId.generate(),
|
||||
_tpl: chosenTpl,
|
||||
});
|
||||
if (itemTemplate._props.Slots?.length > 0)
|
||||
{
|
||||
this.addModsToEquipmentItem(itemWithMods, itemTemplate)
|
||||
|
Loading…
Reference in New Issue
Block a user