mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Add workaround for https://github.com/SteamRE/SteamKit/issues/594
This commit is contained in:
@@ -385,8 +385,12 @@ namespace ArchiSteamFarm {
|
||||
|
||||
List<KeyValue> apps = response["applist"]["apps"].Children;
|
||||
if ((apps == null) || (apps.Count == 0)) {
|
||||
Bot.ArchiLogger.LogNullError(nameof(apps));
|
||||
return null;
|
||||
// TODO: Temporary workaround for https://github.com/SteamRE/SteamKit/issues/594
|
||||
apps = response["apps"].Children;
|
||||
if ((apps == null) || (apps.Count == 0)) {
|
||||
Bot.ArchiLogger.LogNullError(nameof(apps));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
HashSet<uint> result = new HashSet<uint>(apps.Count);
|
||||
|
||||
Reference in New Issue
Block a user