diff --git a/ArchiSteamFarm/Trading.cs b/ArchiSteamFarm/Trading.cs index 74f564fb5..aaa699486 100644 --- a/ArchiSteamFarm/Trading.cs +++ b/ArchiSteamFarm/Trading.cs @@ -79,7 +79,7 @@ namespace ArchiSteamFarm { } [PublicAPI] - public static bool IsTradeNeutralOrBetter(HashSet inventory, IReadOnlyCollection itemsToGive, IReadOnlyCollection itemsToReceive) { + public static bool IsTradeNeutralOrBetter(HashSet inventory, ISet itemsToGive, ISet itemsToReceive) { if ((inventory == null) || (inventory.Count == 0) || (itemsToGive == null) || (itemsToGive.Count == 0) || (itemsToReceive == null) || (itemsToReceive.Count == 0)) { ASF.ArchiLogger.LogNullError(nameof(inventory) + " || " + nameof(itemsToGive) + " || " + nameof(itemsToReceive)); @@ -239,7 +239,7 @@ namespace ArchiSteamFarm { return tradableState; } - internal static HashSet GetTradableItemsFromInventory(IReadOnlyCollection inventory, IDictionary classIDs) { + internal static HashSet GetTradableItemsFromInventory(ISet inventory, IDictionary classIDs) { if ((inventory == null) || (inventory.Count == 0) || (classIDs == null) || (classIDs.Count == 0)) { ASF.ArchiLogger.LogNullError(nameof(inventory) + " || " + nameof(classIDs));