Add files via upload

This commit is contained in:
ethxn 2026-03-17 18:14:45 +08:00 committed by GitHub
parent 5f4b272a15
commit 6a392c0cc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)