2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

修正V3bug

This commit is contained in:
ctrlcvs 2022-08-13 23:53:41 +08:00
parent 612cfa85d4
commit 38a5e3d502

View File

@ -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);