Skip to content

Commit

Permalink
chore: 令 Velocity 版本的初始化提前。
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Jan 26, 2025
1 parent 7a1216e commit 83936ee
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ public MineSQLVelocity(ProxyServer server, Logger logger,
LoggerFactory.getLogger("minesql"), dataDirectory,
server.getPluginManager(), this
);
}

@Subscribe(order = PostOrder.FIRST)
public void onInitialize(ProxyInitializeEvent event) {
outputInfo();

getLogger().info("加载基础核心...");
this.core = new MineSQLCore(this);
}

@Subscribe(order = PostOrder.FIRST)
public void onInitialize(ProxyInitializeEvent event) {

getLogger().info("初始化指令管理器...");
this.commandManager = new VelocityCommandManager(server, this);
Expand Down

0 comments on commit 83936ee

Please sign in to comment.