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:
parent
c327a8d302
commit
568feb1bd9
@ -109,8 +109,10 @@ public class SubscribeTask implements Runnable {
|
|||||||
this.branch = branch;
|
this.branch = branch;
|
||||||
this.isSecret = isSecret;
|
this.isSecret = isSecret;
|
||||||
this.isMaven = isMaven;
|
this.isMaven = isMaven;
|
||||||
|
if (instance.isEnabled()) {
|
||||||
Bukkit.getScheduler().runTaskTimerAsynchronously(instance, this, 0, interval * 1200);
|
Bukkit.getScheduler().runTaskTimerAsynchronously(instance, this, 0, interval * 1200);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获得插件绝对路径
|
* 获得插件绝对路径
|
||||||
|
Loading…
Reference in New Issue
Block a user