diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt index a9c755cf9..4218eabc5 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt @@ -34,7 +34,7 @@ class ConfigManager { configFile = File(configDirectory, "config.json") fixedRateTimer(name = "config-auto-save", period = 60_000L, initialDelay = 60_000L) { - saveConfig("autp-save-60s") + saveConfig("auto-save-60s") } logger.log("Trying to load config from $configFile") @@ -104,9 +104,7 @@ class ConfigManager { } fun saveConfig(reason: String) { - val text = "saveConfig: $reason" - println(text) - logger.log(text) + logger.log("saveConfig: $reason") val file = configFile ?: throw Error("Can not save config, configFile is null!") try { logger.log("Saving config file") |