diff --git a/SabreTools.DatFiles/DatFile.cs b/SabreTools.DatFiles/DatFile.cs
index 697b84c1..6fb1ec9a 100644
--- a/SabreTools.DatFiles/DatFile.cs
+++ b/SabreTools.DatFiles/DatFile.cs
@@ -459,6 +459,10 @@ namespace SabreTools.DatFiles
/// A List of DatItem objects representing the renamed items
protected internal List ResolveNames(List items)
{
+ // Ignore empty lists
+ if (items.Count == 0)
+ return [];
+
// Create the output list
List output = [];
@@ -554,6 +558,10 @@ namespace SabreTools.DatFiles
/// A List of DatItem objects representing the renamed items
protected internal List> ResolveNamesDB(List> mappings)
{
+ // Ignore empty lists
+ if (mappings.Count == 0)
+ return [];
+
// Create the output dict
List> output = [];