diff --git a/repo/js/AutoSwitchRoles/main.js b/repo/js/AutoSwitchRoles/main.js index 33c01ac0..33edeb4c 100644 --- a/repo/js/AutoSwitchRoles/main.js +++ b/repo/js/AutoSwitchRoles/main.js @@ -395,5 +395,6 @@ function readAliases() { } // 返回主界面 await genshin.returnMainUi(); - + //清空角色缓存 + genshin.ClearPartyCache(); })(); \ No newline at end of file diff --git a/repo/js/AutoSwitchRoles/manifest.json b/repo/js/AutoSwitchRoles/manifest.json index 5d448d4d..6329e74c 100644 --- a/repo/js/AutoSwitchRoles/manifest.json +++ b/repo/js/AutoSwitchRoles/manifest.json @@ -1,15 +1,15 @@ { "manifest_version": 1, "name": "配对界面切换角色", - "version": "5.8.0", + "version": "5.8.1", "bgi_version": "0.45.1", "description": "在配对界面切换指定位置的指定角色", "authors": [ { "name": "Tool_tingsu", - "links": "https://github.com/Tooltingsu" + "link": "" } ], "settings_ui": "settings.json", "main": "main.js" -} +} \ No newline at end of file