diff --git a/Libraries/Core/Helpers/ItemHelper.cs b/Libraries/Core/Helpers/ItemHelper.cs index 578d6a32..cadf5410 100644 --- a/Libraries/Core/Helpers/ItemHelper.cs +++ b/Libraries/Core/Helpers/ItemHelper.cs @@ -97,10 +97,11 @@ public class ItemHelper( * @param compareUpdProperties Upd properties to compare between the items * @returns true if they are the same, false if they aren't */ - public bool IsSameItems(List item1, List item2, HashSet compareUpdProperties = null) + public bool IsSameItems(List item1, List item2, HashSet? compareUpdProperties = null) { - if (item1.Count() != item2.Count) + if (item1.Count != item2.Count) { + // Items have different mod counts return false; }