aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
diff options
context:
space:
mode:
authorEthan <git@ethanlibs.co>2022-10-24 14:21:02 -0400
committerEthan <git@ethanlibs.co>2022-10-24 14:21:02 -0400
commit303ca547853c7d5d5eea2cd648c41e01c5931ec3 (patch)
treeed3b49e5c18c97a0dbb3b5c74be2d36eb583f903 /src/main/kotlin/cc/woverflow/chatting/Chatting.kt
parent365ab9eb81ef269e3c19483d2cc5c3169ef8abc4 (diff)
downloadChatting-303ca547853c7d5d5eea2cd648c41e01c5931ec3.tar.gz
Chatting-303ca547853c7d5d5eea2cd648c41e01c5931ec3.tar.bz2
Chatting-303ca547853c7d5d5eea2cd648c41e01c5931ec3.zip
fix
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/Chatting.kt')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/Chatting.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
index 61e61dd..986a229 100644
--- a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
+++ b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
@@ -75,7 +75,7 @@ object Chatting {
@Mod.EventHandler
fun onInitialization(event: FMLInitializationEvent) {
ChattingConfig
- CommandManager.INSTANCE.registerCommand(ChattingCommand.Companion::class.java)
+ CommandManager.INSTANCE.registerCommand(ChattingCommand())
ClientRegistry.registerKeyBinding(keybind)
EVENT_BUS.register(this)
EVENT_BUS.register(ChatSpamBlock)