aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin <115616336+lag@users.noreply.github.com>2026-03-07 02:57:20 -0600
committerGitHub <noreply@github.com>2026-03-07 02:57:20 -0600
commitcc85ecf05af6dcc35afc1ab905ce306b04055fc9 (patch)
tree247a8d0c078809ab24a3d79cc40947b223258931
parent341dfa18686ae133a2c887042d2b58f08849ddb8 (diff)
Block sneak while chat is open. (#803)
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp2
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)