From e73de69e9888346d9770f4c74e549b1d653c702e Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 11 Sep 2019 00:55:31 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/Trading.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));