Skip to content

Commit 19b1c43

Browse files
committed
Fixed duplication of config !!
1 parent 93d708e commit 19b1c43

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • src/main/kotlin/com/github/encryptsl/lite/eco

src/main/kotlin/com/github/encryptsl/lite/eco/LiteEco.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ class LiteEco : JavaPlugin() {
9393
registerListeners()
9494
}
9595
try {
96-
ConfigUpdater.update(this, "config.yml", configFile, "economy", "economy.currencies")
96+
ConfigUpdater.update(this, "config.yml", configFile,
97+
"economy.currencies",
98+
"database.connection",
99+
"formatting.placeholders"
100+
)
97101
componentLogger.info(ModernText.miniModernText("<green>Config was updated on current version !"))
98102
} catch (e : Exception) {
99103
logger.severe(e.message ?: e.localizedMessage)

0 commit comments

Comments
 (0)