mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Enable nullability everywhere
This commit is contained in:
@@ -118,11 +118,13 @@ namespace SabreTools.Filtering
|
||||
continue;
|
||||
|
||||
// Get the list of DatItems for the machine
|
||||
ConcurrentList<DatItem> datItems = datFile.Items[machine];
|
||||
var datItems = datFile.Items[machine];
|
||||
if (datItems == null)
|
||||
continue;
|
||||
|
||||
// Try to get the map values, if possible
|
||||
combinedMachineMaps.TryGetValue(machine, out Dictionary<MachineField, string> machineMappings);
|
||||
combinedDatItemMaps.TryGetValue(machine, out Dictionary<DatItemField, string> datItemMappings);
|
||||
combinedMachineMaps.TryGetValue(machine, out var machineMappings);
|
||||
combinedDatItemMaps.TryGetValue(machine, out var datItemMappings);
|
||||
|
||||
// Create a setter with the new mappings
|
||||
Setter setter = new()
|
||||
|
||||
Reference in New Issue
Block a user