mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
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.
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user