From bfac0ed357fe1610fab0de5bed4f55440a80d7fc Mon Sep 17 00:00:00 2001 From: darkeye Date: Mon, 3 Mar 2025 17:40:18 +0100 Subject: [PATCH] =?UTF-8?q?[BOT]=20Laden=20von=20workern=20l=C3=B6scht=20n?= =?UTF-8?q?icht=20mehr=20vorherige?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/tradingbot/TradingBot.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js/tradingbot/TradingBot.js b/src/js/tradingbot/TradingBot.js index f227290..fd52d93 100644 --- a/src/js/tradingbot/TradingBot.js +++ b/src/js/tradingbot/TradingBot.js @@ -475,7 +475,6 @@ export default class TradingBot { #loadWorker() { try { const workerArr = SerializableHelper.load(this.#config.getDataDirectory(), 'worker.sjson', AbstractWorker); - this.#worker.clear(); workerArr.forEach(w => this.#worker.set(w.getId(), w)); } catch (e) { this.#logger.warn("Bot was unable to worker. Assuming no worker registered!", e);