Fix typing, Importer needs type to be defaultBuilds as buildtype can be a string
This commit is contained in:
@@ -66,7 +66,7 @@ public class ExternalInventoryMagGen : InventoryMagGen, IInventoryMagGen
|
||||
);
|
||||
|
||||
var fitsIntoInventory = _botGeneratorHelper.AddItemWithChildrenToEquipmentSlot(
|
||||
[EquipmentSlots.TacticalVest.ToString(), EquipmentSlots.Pockets.ToString()],
|
||||
[EquipmentSlots.TacticalVest, EquipmentSlots.Pockets],
|
||||
magazineWithAmmo[0].Id,
|
||||
magazineTpl,
|
||||
magazineWithAmmo,
|
||||
|
||||
@@ -37,7 +37,7 @@ public class UbglExternalMagGen : InventoryMagGen, IInventoryMagGen
|
||||
inventoryMagGen.GetAmmoTemplate().Id,
|
||||
(int)bulletCount,
|
||||
inventoryMagGen.GetPmcInventory(),
|
||||
[EquipmentSlots.TacticalVest.ToString()]
|
||||
[EquipmentSlots.TacticalVest]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user