From ef27b9dbe5c8656bcfa260ae57ea6332d8e5e621 Mon Sep 17 00:00:00 2001 From: lizhuoyuan <2820814112@qq.com> Date: Thu, 23 Jan 2025 18:57:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=AF=8F=E6=AD=A5=E5=90=8E=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=B8=85=E6=80=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/control.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/control.js b/libs/control.js index b2e36303..18b499d2 100644 --- a/libs/control.js +++ b/libs/control.js @@ -1178,7 +1178,8 @@ control.prototype.checkBlock = function () { if (currChase && currChase.length > 0) { core.push(actions, { "type": "function", "async": true, "function": "function(){\ncore.battleWithChase();\n}" }); } - if (actions.length > 0) core.insertAction(actions); + if (actions.length > 0) core.insertAction(actions, x, y, core.plugin.autoClear); + else core.plugin.autoClear(); // 阻击结算后执行自动清怪 } control.prototype._checkBlock_disableQuickShop = function () {