mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 15:36:27 +00:00
fix: #极限xx 指令可能无法查看面板
抱歉由于我之前PR的疏忽,目前在 #喵喵设置未实装关闭 时,无法通过 #极限xx 指令查看任何角色的预设面板,无论对应的角色是否已实装,故提交此次更改。 Signed-off-by: 环顾四周 <11254446+papple104@user.noreply.gitee.com>
This commit is contained in:
parent
01bd4e2309
commit
18ebfd436f
@ -37,7 +37,7 @@ export async function groupRank (e) {
|
|||||||
let player = Player.create(100000000)
|
let player = Player.create(100000000)
|
||||||
if (player.getProfile(char.id)) {
|
if (player.getProfile(char.id)) {
|
||||||
e.uid = 100000000
|
e.uid = 100000000
|
||||||
if (Cfg.get('notReleasedData') === false) {
|
if (!char.isRelease && Cfg.get('notReleasedData') === false) {
|
||||||
e.reply('未实装角色面板已禁用...')
|
e.reply('未实装角色面板已禁用...')
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user