diff --git a/ArchiSteamFarm/Trading.cs b/ArchiSteamFarm/Trading.cs index 44361ca94..90a1cbbc8 100644 --- a/ArchiSteamFarm/Trading.cs +++ b/ArchiSteamFarm/Trading.cs @@ -174,6 +174,11 @@ namespace ArchiSteamFarm { // Now remove from our inventory all items we're NOT interested in inventory.RemoveWhere(item => !appIDs.Contains(item.RealAppID)); + // If for some reason Valve is talking crap and we can't find mentioned items, assume OK + if (inventory.Count == 0) { + return true; + } + // Now let's create a map which maps items to their amount in our EQ Dictionary, uint> amountMap = new Dictionary, uint>(); foreach (Steam.Item item in inventory) {