Follow-up code cleanup after #727

This commit is contained in:
JustArchi
2018-01-08 01:48:57 +01:00
parent f3abdf28c5
commit e7f517aecf
5 changed files with 243 additions and 230 deletions

View File

@@ -118,7 +118,7 @@ namespace ArchiSteamFarm {
return;
}
HashSet<Steam.Asset> inventory = await Bot.ArchiWebHandler.GetMySteamInventory(true, Bot.BotConfig.MatchableTypes).ConfigureAwait(false);
HashSet<Steam.Asset> inventory = await Bot.ArchiWebHandler.GetMyInventory(true, wantedTypes: Bot.BotConfig.MatchableTypes).ConfigureAwait(false);
// This is actually inventory failure, so we'll stop sending heartbeats but not record it as valid check
if (inventory == null) {