This commit is contained in:
JustArchi
2016-04-21 02:37:40 +02:00
parent e3100d3938
commit d59d0a8415

View File

@@ -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<Tuple<ulong, ulong>, uint> amountMap = new Dictionary<Tuple<ulong, ulong>, uint>();
foreach (Steam.Item item in inventory) {