Skip to content

Commit

Permalink
Fix trade error 26
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Mar 12, 2024
1 parent a48e7b7 commit 581c928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BoosterManager/Handlers/InventoryHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal static async Task<string> SendItemToMultipleBots(Bot sender, List<(Bot

HashSet<Asset> itemStacks;
try {
itemStacks = await sender.ArchiWebHandler.GetInventoryAsync(appID: appID, contextID: contextID).Where(item => itemIdentifier.IsItemMatch(item)).ToHashSetAsync().ConfigureAwait(false);
itemStacks = await sender.ArchiWebHandler.GetInventoryAsync(appID: appID, contextID: contextID).Where(item => item.Tradable && itemIdentifier.IsItemMatch(item)).ToHashSetAsync().ConfigureAwait(false);
} catch (Exception e) {
sender.ArchiLogger.LogGenericException(e);
return Commands.FormatBotResponse(sender, Strings.WarningFailed);
Expand Down

0 comments on commit 581c928

Please sign in to comment.