From 80d41d72d1443bcbdce0a9228754602b0cb0348d Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 21 Jan 2025 12:05:49 -0500 Subject: [PATCH] Simplify AddItem invocation in Deduplicate --- SabreTools.DatFiles/ItemDictionaryDB.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SabreTools.DatFiles/ItemDictionaryDB.cs b/SabreTools.DatFiles/ItemDictionaryDB.cs index 418901ab..1c0a7dc1 100644 --- a/SabreTools.DatFiles/ItemDictionaryDB.cs +++ b/SabreTools.DatFiles/ItemDictionaryDB.cs @@ -711,10 +711,7 @@ namespace SabreTools.DatFiles // Add the list back to the dictionary RemoveBucket(key); currentMappings.ForEach(map => - { - AddItem(map.Item, map.MachineId, map.SourceId); - }); - + AddItem(map.Item, map.MachineId, map.SourceId)); #if NET40_OR_GREATER || NETCOREAPP }); #else