fix: #极限xx 指令可能无法查看面板

抱歉由于我之前PR的疏忽,目前在 #喵喵设置未实装关闭 时,无法通过 #极限xx 指令查看任何角色的预设面板,无论对应的角色是否已实装,故提交此次更改。

Signed-off-by: 环顾四周 <11254446+papple104@user.noreply.gitee.com>
This commit is contained in:
环顾四周 2023-10-24 13:25:54 +00:00 committed by Gitee
parent 01bd4e2309
commit 18ebfd436f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -37,7 +37,7 @@ export async function groupRank (e) {
let player = Player.create(100000000)
if (player.getProfile(char.id)) {
e.uid = 100000000
if (Cfg.get('notReleasedData') === false) {
if (!char.isRelease && Cfg.get('notReleasedData') === false) {
e.reply('未实装角色面板已禁用...')
return true
}