diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index e2097a0f0..c5ee4623a 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -2234,6 +2234,10 @@ namespace ArchiSteamFarm { return FormatBotResponse(Strings.BotLootingTemporarilyDisabled); } + if (BotConfig.LootableTypes.Count == 0) { + return FormatBotResponse(Strings.BotLootingNoLootableTypes); + } + ulong targetSteamMasterID = GetFirstSteamMasterID(); if (targetSteamMasterID == 0) { return FormatBotResponse(Strings.BotLootingMasterNotDefined); @@ -2243,10 +2247,6 @@ namespace ArchiSteamFarm { return FormatBotResponse(Strings.BotLootingYourself); } - if (BotConfig.LootableTypes.Count == 0) { - return FormatBotResponse(Strings.BotLootingNoLootableTypes); - } - await Trading.LimitInventoryRequestsAsync().ConfigureAwait(false); HashSet inventory = await ArchiWebHandler.GetMySteamInventory(true, BotConfig.LootableTypes).ConfigureAwait(false);