diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-29 23:14:27 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-29 23:14:27 +0200 |
commit | dab050aa9ea795db5175d7209a0630ce6e1d0990 (patch) | |
tree | 0be9ad3696833fac018c2c6a94933f3a59e96219 /src/main/java/at | |
parent | 8a53c079921697c43a62c0e83c4b2941a5560a0f (diff) | |
download | skyhanni-dab050aa9ea795db5175d7209a0630ce6e1d0990.tar.gz skyhanni-dab050aa9ea795db5175d7209a0630ce6e1d0990.tar.bz2 skyhanni-dab050aa9ea795db5175d7209a0630ce6e1d0990.zip |
fixing config reset
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java | 3 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/TimeFeatures.kt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java index 5b6c7f66c..9600eb699 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -49,10 +49,11 @@ public class MiscConfig { @Expose public Position petDisplayPos = new Position(-330, -15, false, true); + // rename this to just "time will cause a config reset @ConfigOption(name = "Time Features", desc = "") @Accordion @Expose - public TimeConfig time = new TimeConfig(); + public TimeConfig timeConfigs = new TimeConfig(); public static class TimeConfig { diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/TimeFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/TimeFeatures.kt index e956791bf..b8f41204b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/TimeFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/TimeFeatures.kt @@ -16,7 +16,7 @@ import kotlin.time.Duration.Companion.days import kotlin.time.Duration.Companion.seconds class TimeFeatures { - private val config get() = SkyHanniMod.feature.misc.time + private val config get() = SkyHanniMod.feature.misc.timeConfigs private val format = SimpleDateFormat("HH:mm:ss") |