Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit ad34006

Browse files
authored
Merge pull request #270 from LazyImmortal/dev
修复 使用加速卡死循环
2 parents 9b3f69a + 0bcf365 commit ad34006

File tree

1 file changed

+3
-1
lines changed
  • app/src/main/java/tkaxv7s/xposed/sesame/model/task/antFarm

1 file changed

+3
-1
lines changed

app/src/main/java/tkaxv7s/xposed/sesame/model/task/antFarm/AntFarm.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1200,8 +1200,10 @@ private Boolean useAccelerateTool() {
12001200
isUseAccelerateTool = true;
12011201
Status.useAccelerateTool();
12021202
TimeUtil.sleep(1000);
1203+
} else {
1204+
break;
12031205
}
1204-
if (!isUseAccelerateTool || !useAccelerateToolContinue.getValue()) {
1206+
if (!useAccelerateToolContinue.getValue()) {
12051207
break;
12061208
}
12071209
}

0 commit comments

Comments
 (0)