diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-15 18:08:46 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-15 18:08:46 +0100 |
commit | d2e393512c7b61e4ab105bc22b064894e086394d (patch) | |
tree | 4a9db3c789745c146bd4d170a00e2539e703630d /src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java | |
parent | 7dac7aaefe9f2c3b250797709783c7c6b0202d9f (diff) | |
download | skyhanni-d2e393512c7b61e4ab105bc22b064894e086394d.tar.gz skyhanni-d2e393512c7b61e4ab105bc22b064894e086394d.tar.bz2 skyhanni-d2e393512c7b61e4ab105bc22b064894e086394d.zip |
Added config save. Removed debugs.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java index 296098f37..3297cdc3e 100644 --- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java +++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.Features; import at.hannibal2.skyhanni.config.commands.Commands; import at.hannibal2.skyhanni.data.*; import at.hannibal2.skyhanni.data.repo.RepoManager; +import at.hannibal2.skyhanni.events.FirstConfigLoadedEvent; import at.hannibal2.skyhanni.features.anvil.AnvilCombineHelper; import at.hannibal2.skyhanni.features.bazaar.*; import at.hannibal2.skyhanni.features.bingo.CompactBingoChat; @@ -181,6 +182,8 @@ public class SkyHanniMod { configManager = new ConfigManager(); configManager.firstLoad(); + new FirstConfigLoadedEvent().postAndCatch(); + MinecraftConsoleFilter.Companion.initLogging(); Runtime.getRuntime().addShutdownHook(new Thread(configManager::saveConfig)); |