style: 更改类名

更改类名
This commit is contained in:
2022-10-19 09:42:55 +08:00
parent 94f7592cd5
commit b0e4920e63
7 changed files with 19 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
package cn.hamster3.mc.plugin.core.proxy;
import cn.hamster3.mc.plugin.core.common.constant.ConstantObjects;
import cn.hamster3.mc.plugin.core.common.constant.CoreConstantObjects;
import net.md_5.bungee.api.plugin.Plugin;
public class HamsterCorePlugin extends Plugin {
@@ -27,9 +27,9 @@ public class HamsterCorePlugin extends Plugin {
public void onDisable() {
long start = System.currentTimeMillis();
getLogger().info("仓鼠核心正在关闭...");
ConstantObjects.WORKER_EXECUTOR.shutdownNow();
CoreConstantObjects.WORKER_EXECUTOR.shutdownNow();
getLogger().info("已暂停 WORKER_EXECUTOR.");
ConstantObjects.SCHEDULED_EXECUTOR.shutdownNow();
CoreConstantObjects.SCHEDULED_EXECUTOR.shutdownNow();
getLogger().info("已暂停 SCHEDULED_EXECUTOR.");
long time = System.currentTimeMillis() - start;
getLogger().info("仓鼠核心已关闭,总计耗时 " + time + " ms.");