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,7 +109,9 @@ public class SubscribeTask implements Runnable {
|
|||||||
this.branch = branch;
|
this.branch = branch;
|
||||||
this.isSecret = isSecret;
|
this.isSecret = isSecret;
|
||||||
this.isMaven = isMaven;
|
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