Allow empty descriptions

This commit is contained in:
JustArchi
2016-07-01 16:34:32 +02:00
parent aac72d4c5b
commit af956f22e9

View File

@@ -105,7 +105,7 @@ namespace ArchiSteamFarm {
}
private static bool ParseItems(Dictionary<ulong, Tuple<uint, Steam.Item.EType>> descriptions, List<KeyValue> input, HashSet<Steam.Item> output) {
if ((descriptions == null) || (descriptions.Count == 0) || (input == null) || (input.Count == 0) || (output == null)) {
if ((descriptions == null) || (input == null) || (input.Count == 0) || (output == null)) {
Logging.LogNullError(nameof(descriptions) + " || " + nameof(input) + " || " + nameof(output));
return false;
}