From 6cee2b8b7b847b406a7ccba1c92060046c4c4f76 Mon Sep 17 00:00:00 2001 From: Roman / Linnea Gräf Date: Fri, 28 Apr 2023 23:42:06 +0200 Subject: Fix config resets (#75) --- src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt index 0855a4855..eca13920f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt @@ -77,7 +77,7 @@ class ConfigManager { } } - if (::features.isInitialized) { + if (!::features.isInitialized) { logger.log("Creating blank config and saving to file") features = Features() saveConfig("blank config") -- cgit