修复任务暂停导致未执行的上一个任务丢失的问题
This commit is contained in:
parent
c384508ffa
commit
9f86548dd4
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>site.deercloud</groupId>
|
||||
<artifactId>LiteWorldEdit</artifactId>
|
||||
<version>2.3.5.0</version>
|
||||
<version>2.3.5.1</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>LiteWorldEdit</name>
|
||||
|
@ -48,6 +48,7 @@ public class Task implements Runnable {
|
||||
}
|
||||
} else {
|
||||
Notification.titleError(player, "错误 任务已自动暂停", re.getMessage());
|
||||
this.xPlayer.addJob(job); // 任务暂停 将没有执行的任务重新加入队列
|
||||
this.xPlayer.pauseJob();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user