From ebfe71d9c2e1ad4b690610e9767962fa3790d8af Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 31 Jan 2025 22:53:15 -0500 Subject: [PATCH] Slight resync of stats calc --- SabreTools.DatFiles/ItemDictionary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SabreTools.DatFiles/ItemDictionary.cs b/SabreTools.DatFiles/ItemDictionary.cs index 4e13d443..11dad452 100644 --- a/SabreTools.DatFiles/ItemDictionary.cs +++ b/SabreTools.DatFiles/ItemDictionary.cs @@ -722,7 +722,7 @@ namespace SabreTools.DatFiles DatStatistics.ResetStatistics(); // If we have a blank Dat in any way, return - if (_items == null) + if (_items == null || _items.Count == 0) return; // Loop through and add