From b5b7b01f883cd9c6ce84edd223bd3dcdce6a874a Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Tue, 16 Aug 2022 23:12:42 +0700 Subject: fix: fix config --- gradle.properties | 2 +- src/main/kotlin/cc/woverflow/chatting/Chatting.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index f78f9e2..2a7cbf8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ org.gradle.jvmargs=-Xmx2G mod_name = Chatting mod_id = chatting -mod_version = 1.4.2 +mod_version = 1.4.2-alpha1 loom.platform = forge minecraft.version = "1.8.9-forge" \ No newline at end of file diff --git a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt index 3aa6302..4ddcbdd 100644 --- a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt +++ b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt @@ -74,7 +74,7 @@ object Chatting { @Mod.EventHandler fun onInitialization(event: FMLInitializationEvent) { - ChattingConfig.initialize() + ChattingConfig CommandManager.INSTANCE.registerCommand(ChattingCommand.Companion::class.java) ClientRegistry.registerKeyBinding(keybind) EVENT_BUS.register(this) -- cgit