From 5c9a9420b51e5cd20a5f463ab958bc50bcf7c3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=81=E5=85=89?= Date: Fri, 18 Oct 2024 14:53:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E4=BF=AE=E5=A4=8D=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dreamvoid/miraimc/interfaces/PluginConfig.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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;