aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-01 21:08:08 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-01 21:08:08 +0200
commit1f96d1b4a7e0281fe59e0cb3658c104a5e7a75a4 (patch)
tree4729f47ffb2b82b4a452e8567ab3c94267d798af /src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
parent8b28b68d6956ae406c0b13abece629a197670edf (diff)
downloadskyhanni-1f96d1b4a7e0281fe59e0cb3658c104a5e7a75a4.tar.gz
skyhanni-1f96d1b4a7e0281fe59e0cb3658c104a5e7a75a4.tar.bz2
skyhanni-1f96d1b4a7e0281fe59e0cb3658c104a5e7a75a4.zip
add more todos after https://github.com/hannibal002/SkyHanni/pull/1264
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt3
1 files changed, 2 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 16deb3baf..51ed30ff4 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
@@ -5,8 +5,8 @@ import at.hannibal2.skyhanni.data.IslandType
import at.hannibal2.skyhanni.data.jsonobjects.local.FriendsJson
import at.hannibal2.skyhanni.data.jsonobjects.local.JacobContestsJson
import at.hannibal2.skyhanni.data.jsonobjects.local.KnownFeaturesJson
-import at.hannibal2.skyhanni.data.jsonobjects.other.HypixelApiTrophyFish
import at.hannibal2.skyhanni.data.jsonobjects.local.VisualWordsJson
+import at.hannibal2.skyhanni.data.jsonobjects.other.HypixelApiTrophyFish
import at.hannibal2.skyhanni.features.fishing.trophy.TrophyRarity
import at.hannibal2.skyhanni.features.misc.update.UpdateManager
import at.hannibal2.skyhanni.utils.KotlinTypeAdapterFactory
@@ -195,6 +195,7 @@ class ConfigManager {
jsonHolder[fileType] = firstLoadFile(fileType.file, fileType, fileType.clazz.newInstance())
}
+ // TODO use SecondPassedEvent
fixedRateTimer(name = "skyhanni-config-auto-save", period = 60_000L, initialDelay = 60_000L) {
saveConfig(ConfigFileType.FEATURES, "auto-save-60s")
}