From 6a392c0cc7f4b3e9a965967b9b808cedf7bc9670 Mon Sep 17 00:00:00 2001 From: ethxn <163630159+ethxnblxd@users.noreply.github.com> Date: Tue, 17 Mar 2026 18:14:45 +0800 Subject: [PATCH] Add files via upload --- Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 81430ffcc..2fae561d3 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -1820,6 +1820,13 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance, pMinecraft->setScreen(new ChatScreen()); SetFocus(g_hWnd); } + else if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_SLASHCOMMANDCHAT) && app.GetGameStarted() && !ui.GetMenuDisplayed(0) && pMinecraft->screen == NULL) + // Needs to set the message with "/" when pressed. + { + g_KBMInput.ClearCharBuffer(); + pMinecraft->setScreen(new ChatScreen()); + SetFocus(g_hWnd); + } #if 0 // has the game defined profile data been changed (by a profile load)