Ensure nullified items are taken care of

This commit is contained in:
Matt Nadareski
2023-07-30 23:50:55 -04:00
parent 439129d284
commit d08cbbe6cd
10 changed files with 113 additions and 15 deletions

View File

@@ -106,8 +106,14 @@ namespace SabreTools.DatFiles.Formats
continue;
// Loop through and convert the items to respective lists
foreach (var item in items)
for (int index = 0; index < items.Count; index++)
{
// Get the item
var item = items[index];
// Check for a "null" item
item = ProcessNullifiedItem(item);
// Skip if we're ignoring the item
if (ShouldIgnore(item, ignoreblanks))
continue;