diff --git a/src/main/kotlin/cn/enaium/vac/client/screen/click/ChatList.kt b/src/main/kotlin/cn/enaium/vac/client/screen/click/ChatList.kt index 23fdac0..ce892c2 100644 --- a/src/main/kotlin/cn/enaium/vac/client/screen/click/ChatList.kt +++ b/src/main/kotlin/cn/enaium/vac/client/screen/click/ChatList.kt @@ -28,7 +28,7 @@ class ChatList(private val chatListSetting: ChatListSetting) : Screen(LiteralTex keyTextField = TextFieldWidget(mc.textRenderer, 5, height - 30, 20, 20, LiteralText("")) chatTextField = TextFieldWidget(mc.textRenderer, 35, height - 30, 100, 20, LiteralText("")) - + addDrawableChild(entryListWidget) addDrawableChild(ButtonWidget(5, 5, 50, 20, LiteralText("Add")) { if (keyTextField.text.isNotEmpty() && chatTextField.text.isNotEmpty()) { val key = KeyboardUtil.getKey(keyTextField.text)