mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
修正V3bug
This commit is contained in:
parent
612cfa85d4
commit
38a5e3d502
@ -41,7 +41,7 @@ export async function roleInfo(e) {
|
|||||||
let id;
|
let id;
|
||||||
if (isV3) {
|
if (isV3) {
|
||||||
Botcfg = (await import(`file://${_path}/plugins/genshin/model/gsCfg.js`)).default;
|
Botcfg = (await import(`file://${_path}/plugins/genshin/model/gsCfg.js`)).default;
|
||||||
Botcfg.roleNameToID(msg)
|
id=Botcfg.roleNameToID(msg)
|
||||||
} else {
|
} else {
|
||||||
Botcfg = YunzaiApps.mysInfo
|
Botcfg = YunzaiApps.mysInfo
|
||||||
id = Botcfg.roleIdToName(msg);
|
id = Botcfg.roleIdToName(msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user