aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
diff options
context:
space:
mode:
authorRoman / Linnea Gräf <nea@nea.moe>2023-04-12 12:38:00 +0200
committerGitHub <noreply@github.com>2023-04-12 12:38:00 +0200
commite9a6b9f6de0fd8d6bc0d97b03d07d9a8c2757f95 (patch)
treef8a29569864aa798e85906fac1412f0583b684c6 /src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
parent0e2276bad532ffe06e1364900e6456cd5b50214e (diff)
downloadskyhanni-e9a6b9f6de0fd8d6bc0d97b03d07d9a8c2757f95.tar.gz
skyhanni-e9a6b9f6de0fd8d6bc0d97b03d07d9a8c2757f95.tar.bz2
skyhanni-e9a6b9f6de0fd8d6bc0d97b03d07d9a8c2757f95.zip
Add AutoUpdater and license info gui (#26)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt2
1 files changed, 2 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 dd10d8482..de41a1e4b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
@@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.config
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.ConfigLoadEvent
+import at.hannibal2.skyhanni.features.misc.update.UpdateManager
import at.hannibal2.skyhanni.features.garden.CropType
import com.google.gson.GsonBuilder
import io.github.moulberry.moulconfig.observer.PropertyTypeAdapterFactory
@@ -79,6 +80,7 @@ class ConfigManager {
val features = SkyHanniMod.feature
processor = MoulConfigProcessor(SkyHanniMod.feature)
BuiltinMoulConfigGuis.addProcessors(processor)
+ UpdateManager.injectConfigProcessor(processor)
ConfigProcessorDriver.processConfig(
features.javaClass,
features,