1
mirror of https://github.com/CarmJos/MineSQL.git synced 2026-06-04 16:43:03 +08:00

chore: 令 Velocity 版本的初始化提前。

This commit is contained in:
2025-01-26 08:19:08 +08:00
parent 7a1216e624
commit 83936ee53e
@@ -60,14 +60,15 @@ public class MineSQLVelocity implements MineSQLPlatform {
LoggerFactory.getLogger("minesql"), dataDirectory, LoggerFactory.getLogger("minesql"), dataDirectory,
server.getPluginManager(), this server.getPluginManager(), this
); );
}
@Subscribe(order = PostOrder.FIRST)
public void onInitialize(ProxyInitializeEvent event) {
outputInfo(); outputInfo();
getLogger().info("加载基础核心..."); getLogger().info("加载基础核心...");
this.core = new MineSQLCore(this); this.core = new MineSQLCore(this);
}
@Subscribe(order = PostOrder.FIRST)
public void onInitialize(ProxyInitializeEvent event) {
getLogger().info("初始化指令管理器..."); getLogger().info("初始化指令管理器...");
this.commandManager = new VelocityCommandManager(server, this); this.commandManager = new VelocityCommandManager(server, this);