fix: 兼容老配置

This commit is contained in:
秋云
2025-05-26 18:27:44 +08:00
parent 031a5ffef2
commit 56d6350c71
2 changed files with 5 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ const RightSliderBottomRo = RecognitionObject.TemplateMatch(file.ReadImageMatSyn
} // Main
if (!!settings.partyName) {
try {
if (settings.forceGoStatue) {
if (!settings.disableGoStatue) {
// 强制去七天神像换队
log.info("强制传送到七天神像切换队伍");
await genshin.TpToStatueOfTheSeven();

View File

@@ -3,10 +3,11 @@
"name": "partyName",
"type": "input-text",
"label": "需要切换的队伍名称"
}, {
"name": "forceGoStatue",
},
{
"name": "disableGoStatue",
"type": "checkbox",
"label": "强制传送到七天神像换队"
"label": "关闭前往七天神像"
},
{
"name": "enableDebug",