diff options
author | Roman / Linnea Gräf <nea@nea.moe> | 2023-04-28 23:42:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 23:42:06 +0200 |
commit | 6cee2b8b7b847b406a7ccba1c92060046c4c4f76 (patch) | |
tree | 295db57bd4b7281ed3e4b8d9d264fbccf7002272 /src/main/java/at/hannibal2 | |
parent | 5985f6f22a41cfe61c6d3616f4916039e7bce459 (diff) | |
download | skyhanni-6cee2b8b7b847b406a7ccba1c92060046c4c4f76.tar.gz skyhanni-6cee2b8b7b847b406a7ccba1c92060046c4c4f76.tar.bz2 skyhanni-6cee2b8b7b847b406a7ccba1c92060046c4c4f76.zip |
Fix config resets (#75)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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") |