diff --git a/FixBigInventories/FixBigInventories.cs b/FixBigInventories/FixBigInventories.cs index 496a35b..7ddd04f 100644 --- a/FixBigInventories/FixBigInventories.cs +++ b/FixBigInventories/FixBigInventories.cs @@ -28,7 +28,7 @@ public Task OnLoaded() { } public async Task OnBotTradeOfferResults(Bot bot, IReadOnlyCollection tradeResults) { - if (EnabledBots.Contains(bot)) { + if (EnabledBots.Contains(bot) && bot.IsConnectedAndLoggedOn) { if (tradeResults.Any(static result => result is { Result: ParseTradeResult.EResult.Accepted, Confirmed: true })) { bool success = false;