From 867824111144f7fc37d81c88097342d789fa47ae Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Sat, 6 Sep 2025 22:53:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=96=B0=E9=81=93=E5=85=B7=E6=A0=8F?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BF=AB=E6=8D=B7=E9=94=AE=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E6=97=B6=E5=8F=AA=E6=81=A2=E5=A4=8D=E5=B7=B2=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E7=9A=84=E7=9B=91=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/plugins.js b/project/plugins.js index 492b74cf..527846fa 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3792,7 +3792,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = clear() { super.clear(); const { back, itemInv, equipSlots, itemInfo } = UI; - [back, itemInv, equipSlots, itemInfo].forEach((menu) => { menu.beginListen(); }); + [back, itemInv, equipSlots, itemInfo].forEach(menu => { + if (menu.onDraw) menu.beginListen(); // 注意本来就没在绘制的则不监听 + }); UI.itemInfo.drawContent(); // 快捷键图标会发生变化 } }