style: 修改日志
This commit is contained in:
@@ -45,10 +45,10 @@ public class BallBungeeCordAPI extends BallAPI {
|
||||
|
||||
DataSource datasource;
|
||||
if (config.contains("datasource")) {
|
||||
plugin.getLogger().info("检测到配置文件中包含 datasource 节点,启用自定义数据库连接");
|
||||
plugin.getLogger().info("启用仓鼠球自定义数据库连接池");
|
||||
datasource = BallBungeeCordUtils.getDataSource(config.getSection("datasource"));
|
||||
} else {
|
||||
plugin.getLogger().info("未检测到配置文件中的 datasource 节点,复用 HamsterCore 数据库连接");
|
||||
plugin.getLogger().info("复用 HamsterCore 的数据库连接池");
|
||||
datasource = CoreAPI.getInstance().getDataSource();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user