Merge pull request #653 from Rrrrrrray/master

perf:第三方预设面板支持未实装角色
This commit is contained in:
Ca(HCO₃)₂ 2023-10-04 15:18:58 +08:00 committed by GitHub
commit d160201c33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,8 @@ let ProfileDetail = {
return true return true
} }
if (!char.isRelease) { if (!char.isRelease) {
if (!profileChange) { // 预设面板支持未实装角色
if (!profileChange && Number(e.uid) > 100000006) {
e.reply('角色尚未实装') e.reply('角色尚未实装')
return true return true
} else if (Cfg.get('notReleasedData') === false) { } else if (Cfg.get('notReleasedData') === false) {