diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-04-07 18:39:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 10:39:07 +0200 |
commit | 0850dc6a0195d7e52cea13cc5838e75d216f81b7 (patch) | |
tree | e59d05b9fff66dd3d50ff75d497cbc8448d2fdd2 /src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | |
parent | 31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90 (diff) | |
download | skyhanni-0850dc6a0195d7e52cea13cc5838e75d216f81b7.tar.gz skyhanni-0850dc6a0195d7e52cea13cc5838e75d216f81b7.tar.bz2 skyhanni-0850dc6a0195d7e52cea13cc5838e75d216f81b7.zip |
Backend: Change stuff around with chat messages (#1227)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt')
-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 4059761c3..3a38db02a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt @@ -236,7 +236,7 @@ class ConfigManager { val jsonObject = gson.fromJson(bufferedReader.readText(), JsonObject::class.java) val newJsonObject = ConfigUpdaterMigrator.fixConfig(jsonObject) val run = { gson.fromJson(newJsonObject, defaultValue.javaClass) } - if (LorenzUtils.isInDevEnviromen()) { + if (LorenzUtils.isInDevEnvironment()) { try { run() } catch (e: Throwable) { |