build: 优化构建脚本
This commit is contained in:
@@ -29,7 +29,7 @@ public class HamsterBallPlugin extends Plugin {
|
||||
logger.info("已初始化 BallAPI.");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
ProxyServer.getInstance().stop();
|
||||
ProxyServer.getInstance().stop("由于 HamsterBall 未能成功连接, 服务器将立即关闭.");
|
||||
}
|
||||
long time = System.currentTimeMillis() - start;
|
||||
logger.info("仓鼠球初始化完成,总计耗时 " + time + " ms.");
|
||||
|
Reference in New Issue
Block a user