aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
diff options
context:
space:
mode:
authorBrady <thatgravyboat@gmail.com>2024-06-07 22:09:36 -0230
committerGitHub <noreply@github.com>2024-06-08 02:39:36 +0200
commit376404aa6ec7ffe3bea6fb3a99f43139dcbfd307 (patch)
treeb615e1d84b1b030713df1cfb004cdd564c350fd2 /src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
parent79d0cd3af5b2acf11fc63bc3aa6743f784a3a0f6 (diff)
downloadskyhanni-376404aa6ec7ffe3bea6fb3a99f43139dcbfd307.tar.gz
skyhanni-376404aa6ec7ffe3bea6fb3a99f43139dcbfd307.tar.bz2
skyhanni-376404aa6ec7ffe3bea6fb3a99f43139dcbfd307.zip
Backend: Custom event bus (#2008)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
index 1d0f838db..4503a63b5 100644
--- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
+++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
@@ -1,5 +1,6 @@
package at.hannibal2.skyhanni
+import at.hannibal2.skyhanni.api.event.SkyHanniEvents
import at.hannibal2.skyhanni.config.ConfigFileType
import at.hannibal2.skyhanni.config.ConfigManager
import at.hannibal2.skyhanni.config.Features
@@ -134,6 +135,8 @@ class SkyHanniMod {
// test stuff
loadModule(SkyHanniDebugsAndTests())
+ SkyHanniEvents.init(modules)
+
Commands.init()
PreInitFinishedEvent().postAndCatch()