From 0126593d5402bfe29b83f05cf713df1de1f2c65b Mon Sep 17 00:00:00 2001 From: UCPr Date: Sat, 28 Sep 2024 02:37:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20#/*=E9=87=8D=E7=BD=AEXX=E6=8E=92?= =?UTF-8?q?=E5=90=8D=E6=8A=A5=E9=94=99=20(#795)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/profile/ProfileRank.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/profile/ProfileRank.js b/apps/profile/ProfileRank.js index 32220937..58390052 100644 --- a/apps/profile/ProfileRank.js +++ b/apps/profile/ProfileRank.js @@ -106,8 +106,9 @@ export async function resetRank (e) { let name = msg.replace(/(#|星铁|重置|重设|排名|排行|群|群内|面板|详情|面版)/g, '').trim() let charId = '' let charName = '全部角色' + let char if (name) { - let char = Character.get(name, game) + char = Character.get(name, game) if (!char) { e.reply(`重置排名失败,角色:${name}不存在`) return true