diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-01 23:14:12 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-01 23:14:12 +0200 |
commit | ce765217f8f2f4732e5d55323f0bf2f58f7df2e3 (patch) | |
tree | b44ad5763b702f9914b7e8d86bcb01aaa476da3a /src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | |
parent | 62fd05099a4f0b1cbc88368f0f99cf38ef8c5875 (diff) | |
download | skyhanni-ce765217f8f2f4732e5d55323f0bf2f58f7df2e3.tar.gz skyhanni-ce765217f8f2f4732e5d55323f0bf2f58f7df2e3.tar.bz2 skyhanni-ce765217f8f2f4732e5d55323f0bf2f58f7df2e3.zip |
Fixed crashes and config resets because of averageBlocksPerSecond is 'not a number'
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt index f35f08c96..e32f1d899 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt @@ -18,6 +18,7 @@ class ConfigManager { companion object { val gson = GsonBuilder().setPrettyPrinting() .excludeFieldsWithoutExposeAnnotation() + .serializeSpecialFloatingPointValues() .registerTypeAdapterFactory(PropertyTypeAdapterFactory()) .create() } |