summaryrefslogtreecommitdiff
path: root/src/main/kotlin/UltraNotifier.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-05-28 00:04:44 +0200
committerLinnea Gräf <nea@nea.moe>2024-05-28 00:04:44 +0200
commit8a5c5d45f87f38d9a7484b73c0505b95e63a21f1 (patch)
treeb4408211d9ee9e9aea315316b1182462d7d1de2e /src/main/kotlin/UltraNotifier.kt
parentfbd72e2a377a4711190307eed581b8b1d80e3406 (diff)
downloadultra-notifier-master.tar.gz
ultra-notifier-master.tar.bz2
ultra-notifier-master.zip
Add commandsHEADmaster
Diffstat (limited to 'src/main/kotlin/UltraNotifier.kt')
-rw-r--r--src/main/kotlin/UltraNotifier.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/UltraNotifier.kt b/src/main/kotlin/UltraNotifier.kt
index dce1fda..f1bb8ff 100644
--- a/src/main/kotlin/UltraNotifier.kt
+++ b/src/main/kotlin/UltraNotifier.kt
@@ -1,6 +1,7 @@
package moe.nea.ultranotifier
import moe.nea.ultranotifier.commands.Commands
+import moe.nea.ultranotifier.event.RegistrationFinishedEvent
import moe.nea.ultranotifier.init.NeaMixinConfig
import java.io.File
@@ -18,6 +19,9 @@ object UltraNotifier {
logger.info("Loaded ${mixinPlugin.mixins.size} mixins for ${mixinPlugin.mixinPackage}.")
}
Commands.init()
+
+ RegistrationFinishedEvent().post()
+
}
val configFolder = File("config/ultra-notifier").also {