Small cleanup of IsSameItems

This commit is contained in:
Chomp
2025-02-09 15:36:19 +00:00
parent 22e52dbdb3
commit 606bb2dc58
+3 -2
View File
@@ -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<Item> item1, List<Item> item2, HashSet<string> compareUpdProperties = null)
public bool IsSameItems(List<Item> item1, List<Item> item2, HashSet<string>? compareUpdProperties = null)
{
if (item1.Count() != item2.Count)
if (item1.Count != item2.Count)
{
// Items have different mod counts
return false;
}