fix:修复舰R脚本多调用了一次start

This commit is contained in:
Yutousama 2022-07-25 13:31:24 +08:00
parent 75b43e40e5
commit 08bbd247a4

View File

@ -24,6 +24,7 @@ public class JianRTaskManager {
public void setTask(JianRScriptData data) {
task = data;
runIndex=0;
String s = RedisTools.get("jianrScript_RunIndex_" + data.getName());
if (s != null) {
runIndex = Integer.parseInt(s);