From 801d8bc804e6a959911cbec63a9b32631e63f8ee Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 23 Apr 2023 00:55:23 +0200 Subject: Fixed typos --- src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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") -- cgit