mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This commit is contained in:
@@ -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<Steam.Item> inventory = await ArchiWebHandler.GetMySteamInventory(true, BotConfig.LootableTypes).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user