mirror of
https://github.com/CarmJos/MineSQL.git
synced 2026-06-05 00:48:16 +08:00
Sponge8 support
This commit is contained in:
@@ -74,18 +74,17 @@ public class BukkitConfiguration implements PluginConfiguration {
|
||||
EasySQLBukkit.getInstance().error("端口未配置正确," + " 请检查配置文件 databases." + dbName + "。");
|
||||
continue;
|
||||
}
|
||||
DBConfiguration configuration = DBConfiguration.create(driverType, host + ":" + port);
|
||||
DBConfiguration dbConfiguration = DBConfiguration.create(driverType, host + ":" + port);
|
||||
|
||||
String username = dbSection.getString("username");
|
||||
String password = dbSection.getString("password");
|
||||
|
||||
dbConfiguration.setUsername(username);
|
||||
dbConfiguration.setPassword(password);
|
||||
|
||||
dbConfigurations.put(dbName, dbConfiguration);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
return dbConfigurations;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ public class EasySQLBukkit extends EasyPlugin implements EasySQLPluginPlatform {
|
||||
} else {
|
||||
log("已禁用检查更新,跳过。");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user