This commit is contained in:
JustArchi
2017-09-17 18:24:05 +02:00
parent 757ae9ab3e
commit 2072604484

View File

@@ -498,6 +498,10 @@ namespace ArchiSteamFarm {
return null;
}
if ((response.Assets == null) || (response.Assets.Count == 0) || (response.Descriptions == null) || (response.Descriptions.Count == 0)) {
return result;
}
Dictionary<ulong, (uint AppID, Steam.Asset.EType Type, bool Tradable)> descriptionMap = new Dictionary<ulong, (uint AppID, Steam.Asset.EType Type, bool Tradable)>();
foreach (Steam.InventoryResponse.Description description in response.Descriptions.Where(description => description != null)) {
if (description.ClassID == 0) {