1
0
mirror of https://e.coding.net/circlecloud/YumCore.git synced 2024-12-24 06:58:51 +00:00

feat: 自动更新添加插件状态检测

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-08-20 22:19:14 +08:00
parent c327a8d302
commit 568feb1bd9

View File

@ -109,7 +109,9 @@ public class SubscribeTask implements Runnable {
this.branch = branch;
this.isSecret = isSecret;
this.isMaven = isMaven;
Bukkit.getScheduler().runTaskTimerAsynchronously(instance, this, 0, interval * 1200);
if (instance.isEnabled()) {
Bukkit.getScheduler().runTaskTimerAsynchronously(instance, this, 0, interval * 1200);
}
}
/**