aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/TimeFeatures.kt2
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")