aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/DulkirMod.kt
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-10-29 12:12:03 -0500
committeringle <inglettronald@gmail.com>2022-10-29 12:12:03 -0500
commit393d4c8e14730a5c9b31695f722b6de9480508ec (patch)
treef8c9c1143e17e8578cc1567d3a464e219459f69f /src/main/kotlin/dulkirmod/DulkirMod.kt
parent798b38e5f3579469192916b69427ce46127deead (diff)
downloadDulkirMod-393d4c8e14730a5c9b31695f722b6de9480508ec.tar.gz
DulkirMod-393d4c8e14730a5c9b31695f722b6de9480508ec.tar.bz2
DulkirMod-393d4c8e14730a5c9b31695f722b6de9480508ec.zip
+ abiphone do not disturb
= refactored chatevent code for readability
Diffstat (limited to 'src/main/kotlin/dulkirmod/DulkirMod.kt')
-rw-r--r--src/main/kotlin/dulkirmod/DulkirMod.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/DulkirMod.kt b/src/main/kotlin/dulkirmod/DulkirMod.kt
index 0291226..8f1be1c 100644
--- a/src/main/kotlin/dulkirmod/DulkirMod.kt
+++ b/src/main/kotlin/dulkirmod/DulkirMod.kt
@@ -4,6 +4,7 @@ import dulkirmod.command.*
import dulkirmod.config.Config
import dulkirmod.events.ChatEvent
import dulkirmod.features.*
+import dulkirmod.features.chat.AbiphoneDND
import dulkirmod.utils.ContainerNameUtil
import dulkirmod.utils.TitleUtils
import kotlinx.coroutines.CoroutineScope
@@ -56,7 +57,7 @@ class DulkirMod {
@Mod.EventHandler
fun onInit(event: FMLInitializationEvent) {
config.init()
- // REGISTER EVENTS HERE
+ // REGISTER Classes and such HERE
MinecraftForge.EVENT_BUS.register(this)
MinecraftForge.EVENT_BUS.register(ChatEvent())
MinecraftForge.EVENT_BUS.register(NametagCleaner)
@@ -66,6 +67,7 @@ class DulkirMod {
MinecraftForge.EVENT_BUS.register(Croesus())
MinecraftForge.EVENT_BUS.register(ContainerNameUtil())
MinecraftForge.EVENT_BUS.register(DungeonLeap())
+ MinecraftForge.EVENT_BUS.register(AbiphoneDND())
keyBinds.forEach(ClientRegistry::registerKeyBinding)
}