diff --git a/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf b/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf index b862517..b915e35 100644 --- a/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf +++ b/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf @@ -38,6 +38,7 @@ _lootWeaponHolderNetIDs = []; _lootHolder = objNull; _numberOfItemsToSpawn = (floor (random _maximumNumberOfItemsPerLootSpot)) + 1; _itemClassNames = [_lootTableName, _numberOfItemsToSpawn] call ExileServer_system_lootManager_dropItem; + if (_itemClassNames isEqualType "") then {_itemClassNames = [_itemClassNames];}; { _itemClassName = _x; if !(_itemClassName in _spawnedItemClassNames) then