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:
parent
c327a8d302
commit
568feb1bd9
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user