From a604a5e8032c094a43edc094fa48010f81b0ed0a Mon Sep 17 00:00:00 2001 From: Sally Knight Date: Tue, 24 Mar 2026 17:52:14 +0300 Subject: [PATCH] fix: lock Gui.cpp HUD back behind java gui --- Minecraft.Client/UI/Gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Minecraft.Client/UI/Gui.cpp b/Minecraft.Client/UI/Gui.cpp index 4fb4813c0..8d9d12071 100644 --- a/Minecraft.Client/UI/Gui.cpp +++ b/Minecraft.Client/UI/Gui.cpp @@ -36,11 +36,11 @@ ResourceLocation Gui::PUMPKIN_BLUR_LOCATION = ResourceLocation Gui::GUI_GUI_LOCATION = ResourceLocation(TN_GUI_GUI); ResourceLocation Gui::GUI_ICONS_LOCATION = ResourceLocation(TN_GUI_ICONS); +#ifdef ENABLE_JAVA_GUIS #define RENDER_HUD 1 -// #ifndef _XBOX -// #undef RENDER_HUD -// #define RENDER_HUD 1 -// #endif +#else +#define RENDER_HUD 0 +#endif float Gui::currentGuiBlendFactor = 1.0f; // 4J added float Gui::currentGuiScaleFactor = 1.0f; // 4J added