Fixed bug described in issue #3

> Now the speedometer (and debug screen) is hidden when f1(no gui) is toggled
This commit is contained in:
2024-11-05 16:10:37 +01:00
parent 95222c1c95
commit 38f96cb1e9
4 changed files with 34 additions and 25 deletions

View File

@@ -128,6 +128,7 @@ public class Client {
private static void render(GuiGraphics graphics, DeltaTracker deltaTracker) {
if(Minecraft.getInstance().player == null) return;
if(Minecraft.getInstance().options.hideGui) return;
Entity entity = Minecraft.getInstance().player.getRootVehicle();
Vec3 vec = new Vec3(