diff --git a/Libraries/Core/Generators/LocationLootGenerator.cs b/Libraries/Core/Generators/LocationLootGenerator.cs index d74424ea..72b41328 100644 --- a/Libraries/Core/Generators/LocationLootGenerator.cs +++ b/Libraries/Core/Generators/LocationLootGenerator.cs @@ -794,7 +794,7 @@ public class LocationLootGenerator( List forcedSpawnPoints, string locationName, Dictionary> staticAmmoDist) { - var lootToForceSingleAmountOnMap = _locationConfig.ForcedLootSingleSpawnById[locationName]; + var lootToForceSingleAmountOnMap = _locationConfig.ForcedLootSingleSpawnById.GetValueOrDefault(locationName); if (lootToForceSingleAmountOnMap is not null) { // Process loot items defined as requiring only 1 spawn position as they appear in multiple positions on the map