This commit is contained in:
JustArchi
2017-01-02 22:17:06 +01:00
parent efb91f0886
commit 648c2f2509

View File

@@ -1742,6 +1742,10 @@ namespace ArchiSteamFarm {
return "You can't loot yourself!";
}
if (BotConfig.LootableTypes.Count == 0) {
return "You don't have any lootable types set!";
}
await Trading.LimitInventoryRequestsAsync().ConfigureAwait(false);
HashSet<Steam.Item> inventory = await ArchiWebHandler.GetMySteamInventory(true, BotConfig.LootableTypes).ConfigureAwait(false);