mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
feat: 更新心跳处理方法
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
c86aff521b
commit
d9004b0b9e
@ -5,8 +5,8 @@ import java.util.TimerTask;
|
||||
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
import cn.citycraft.PluginHelper.kit.PKit;
|
||||
import cn.citycraft.PluginHelper.kit.PluginKit;
|
||||
import cn.citycraft.PluginHelper.kit.ServerKit;
|
||||
|
||||
/**
|
||||
* 线程安全检查任务
|
||||
@ -80,7 +80,7 @@ public class MainThreadCheckTask extends TimerTask {
|
||||
stopTime += 5;
|
||||
if (stopTime >= 45) {
|
||||
PluginKit.sc(String.format(prefix + deliver, stopTime));
|
||||
PKit.tick();
|
||||
ServerKit.tick();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user