diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-17 10:54:24 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-17 10:54:24 +0200 |
commit | dc337e273420fbc987fabdfb07f42a78116da164 (patch) | |
tree | 077648c22dcf785b5ffc0f9fe392f634bdd67ed3 /src/main/java/at/hannibal2/skyhanni/features/fame | |
parent | e55b901cf4368f030dd10519946e54f1129ab78a (diff) | |
download | skyhanni-dc337e273420fbc987fabdfb07f42a78116da164.tar.gz skyhanni-dc337e273420fbc987fabdfb07f42a78116da164.tar.bz2 skyhanni-dc337e273420fbc987fabdfb07f42a78116da164.zip |
migrate city project config into event and real time, tps display, and custom text box config into gui
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/fame')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt index 706de6807..2e8154d6a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt @@ -1,6 +1,7 @@ package at.hannibal2.skyhanni.features.fame import at.hannibal2.skyhanni.SkyHanniMod +import at.hannibal2.skyhanni.config.ConfigUpdaterMigrator import at.hannibal2.skyhanni.data.ProfileStorageData import at.hannibal2.skyhanni.events.* import at.hannibal2.skyhanni.features.bazaar.BazaarApi @@ -27,7 +28,7 @@ class CityProjectFeatures { private val contributeAgainPattern = "§7Contribute again: §e(?<time>.*)".toPattern() companion object { - private val config get() = SkyHanniMod.feature.misc.cityProject + private val config get() = SkyHanniMod.feature.event.cityProject fun disable() { config.dailyReminder = false LorenzUtils.chat("§c[SkyHanni] Disabled city project reminder messages!") @@ -188,4 +189,9 @@ class CityProjectFeatures { } } } + + @SubscribeEvent + fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { + event.move(2, "misc.cityProject", "event.cityProject") + } } |