Fix typing, Importer needs type to be defaultBuilds as buildtype can be a string

This commit is contained in:
CWX
2025-01-16 18:28:10 +00:00
parent c6538a7607
commit 9fa39a972d
7 changed files with 12 additions and 12 deletions
@@ -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]
);
}
}