From b081b8eabada019da294520b91e5491cd07c1093 Mon Sep 17 00:00:00 2001 From: Archi Date: Sun, 18 Dec 2022 15:15:39 +0100 Subject: [PATCH] Initialize RemoteCommunication always This caused people with remote communication of 0 unable to use match actively, which is not required. Remote communication is already coded to handle only what user configures it to do so. --- .../ItemsMatcherPlugin.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ArchiSteamFarm.OfficialPlugins.ItemsMatcher/ItemsMatcherPlugin.cs b/ArchiSteamFarm.OfficialPlugins.ItemsMatcher/ItemsMatcherPlugin.cs index 9fb151105..bbe02da34 100644 --- a/ArchiSteamFarm.OfficialPlugins.ItemsMatcher/ItemsMatcherPlugin.cs +++ b/ArchiSteamFarm.OfficialPlugins.ItemsMatcher/ItemsMatcherPlugin.cs @@ -32,7 +32,6 @@ using ArchiSteamFarm.Plugins; using ArchiSteamFarm.Plugins.Interfaces; using ArchiSteamFarm.Steam; using ArchiSteamFarm.Steam.Integration.Callbacks; -using ArchiSteamFarm.Steam.Storage; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SteamKit2; @@ -92,10 +91,6 @@ internal sealed class ItemsMatcherPlugin : OfficialPlugin, IBot, IBotCommand2, I await remoteCommunication.DisposeAsync().ConfigureAwait(false); } - if (bot.BotConfig.RemoteCommunication == BotConfig.ERemoteCommunication.None) { - return; - } - remoteCommunication = new RemoteCommunication(bot); if (!RemoteCommunications.TryAdd(bot, remoteCommunication)) {