From 778ed7a0239d5e38f24cf2650004e08ed1d4c8cc Mon Sep 17 00:00:00 2001 From: eh-K <165239265+eh-K@users.noreply.github.com> Date: Fri, 6 Mar 2026 18:45:09 -0600 Subject: [PATCH] Added negative X/Z limits that I forgot. --- Minecraft.Client/Common/UI/UIScene_DebugSetCamera.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Common/UI/UIScene_DebugSetCamera.cpp b/Minecraft.Client/Common/UI/UIScene_DebugSetCamera.cpp index 62b1a3519..5335d77c5 100644 --- a/Minecraft.Client/Common/UI/UIScene_DebugSetCamera.cpp +++ b/Minecraft.Client/Common/UI/UIScene_DebugSetCamera.cpp @@ -96,7 +96,7 @@ void UIScene_DebugSetCamera::onDirectEditFinished(UIControl_TextInput *input, UI { currentPosition->m_camX = val; if (val > 30000000) currentPosition->m_camX = 30000000; - + if (val < -30000000) currentPosition->m_camX = -30000000; } else if (input == &m_textInputY) { @@ -109,6 +109,7 @@ else if (input == &m_textInputZ) { currentPosition->m_camZ = val; if (val > 30000000) currentPosition->m_camZ = 30000000; + if (val < -30000000) currentPosition->m_camZ = -30000000; } else if (input == &m_textInputYRot) {