1
0
mirror of https://e.coding.net/circlecloud/YumCore.git synced 2024-11-24 02:08:48 +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,8 +109,10 @@ public class SubscribeTask implements Runnable {
this.branch = branch;
this.isSecret = isSecret;
this.isMaven = isMaven;
if (instance.isEnabled()) {
Bukkit.getScheduler().runTaskTimerAsynchronously(instance, this, 0, interval * 1200);
}
}
/**
* 获得插件绝对路径