2
0
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:
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;
if (isV3) {
Botcfg = (await import(`file://${_path}/plugins/genshin/model/gsCfg.js`)).default;
Botcfg.roleNameToID(msg)
id=Botcfg.roleNameToID(msg)
} else {
Botcfg = YunzaiApps.mysInfo
id = Botcfg.roleIdToName(msg);