diff --git a/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/interfaces/PluginConfig.java b/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/interfaces/PluginConfig.java index 7ed1a88f..3e89335a 100644 --- a/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/interfaces/PluginConfig.java +++ b/MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/interfaces/PluginConfig.java @@ -42,12 +42,12 @@ public final void loadConfig() throws IOException { // database.settings Database_Settings_Prefix = getString("database.settings.prefix", Database_Settings_Prefix); // database.settings.pool - Database_Settings_Pool_ConnectionTimeout = getInt("database.pool.connectionTimeout", Database_Settings_Pool_ConnectionTimeout); - Database_Settings_Pool_IdleTimeout = getInt("database.pool.connectionTimeout", Database_Settings_Pool_IdleTimeout); - Database_Settings_Pool_MaxLifetime = getInt("database.pool.maxLifetime", Database_Settings_Pool_MaxLifetime); - Database_Settings_Pool_MaximumPoolSize = getInt("database.pool.maximumPoolSize", Database_Settings_Pool_MaximumPoolSize); - Database_Settings_Pool_KeepaliveTime = getInt("database.pool.keepaliveTime", Database_Settings_Pool_KeepaliveTime); - Database_Settings_Pool_MinimumIdle = getInt("database.pool.minimumIdle", Database_Settings_Pool_MinimumIdle); + Database_Settings_Pool_ConnectionTimeout = getInt("database.settings.pool.connectionTimeout", Database_Settings_Pool_ConnectionTimeout); + Database_Settings_Pool_IdleTimeout = getInt("database.settings.pool.connectionTimeout", Database_Settings_Pool_IdleTimeout); + Database_Settings_Pool_MaxLifetime = getInt("database.settings.pool.maxLifetime", Database_Settings_Pool_MaxLifetime); + Database_Settings_Pool_MaximumPoolSize = getInt("database.settings.pool.maximumPoolSize", Database_Settings_Pool_MaximumPoolSize); + Database_Settings_Pool_KeepaliveTime = getInt("database.settings.pool.keepaliveTime", Database_Settings_Pool_KeepaliveTime); + Database_Settings_Pool_MinimumIdle = getInt("database.settings.pool.minimumIdle", Database_Settings_Pool_MinimumIdle); } protected abstract void saveDefaultConfig() throws IOException;