Remove ProcessNullifiedItemDB implementation; ProcessItemName common functionality

This commit is contained in:
Matt Nadareski
2025-01-09 10:01:56 -05:00
parent e12828fa0e
commit 68c235f716
6 changed files with 41 additions and 132 deletions

View File

@@ -328,7 +328,7 @@ namespace SabreTools.DatFiles.Formats
WriteStartGame(xtw, kvp.Value);
// Check for a "null" item
var datItem = ProcessNullifiedItemDB(kvp);
var datItem = new KeyValuePair<long, DatItem>(kvp.Key, ProcessNullifiedItem(kvp.Value));
// Write out the item if we're not ignoring
if (!ShouldIgnore(datItem.Value, ignoreblanks))