mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFIle] Add one more check
This commit is contained in:
@@ -2306,6 +2306,13 @@ namespace SabreTools.Helper
|
||||
continue;
|
||||
}
|
||||
|
||||
// If we somehow have a null list, just skip it
|
||||
if (sortable[key] == null)
|
||||
{
|
||||
logger.Warning("Blank list found for key: " + key);
|
||||
continue;
|
||||
}
|
||||
|
||||
List<DatItem> sortedlist = sortable[key];
|
||||
DatItem.Sort(ref sortedlist, norename);
|
||||
sortable[key] = sortedlist;
|
||||
|
||||
Reference in New Issue
Block a user