diff options
| author | Kevin <115616336+lag@users.noreply.github.com> | 2026-03-07 02:57:20 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 02:57:20 -0600 |
| commit | cc85ecf05af6dcc35afc1ab905ce306b04055fc9 (patch) | |
| tree | 247a8d0c078809ab24a3d79cc40947b223258931 /Minecraft.Client | |
| parent | 341dfa18686ae133a2c887042d2b58f08849ddb8 (diff) | |
Block sneak while chat is open. (#803)
Diffstat (limited to 'Minecraft.Client')
| -rw-r--r-- | Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 84404106..dfb9b509 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -595,6 +595,8 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { if (vk == VK_UP) chat->handleHistoryUp(); else chat->handleHistoryDown(); break; } if (vk >= '1' && vk <= '9') // Prevent hotkey conflicts break; + if (vk == VK_SHIFT) + break; } #endif if (vk == VK_SHIFT) |
