diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index fa8c8ec01..4ba4d6d4e 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -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 inventory = await ArchiWebHandler.GetMySteamInventory(true, BotConfig.LootableTypes).ConfigureAwait(false);