This commit is contained in:
cattyn
2024-02-26 23:21:06 +03:00
committed by GitHub
parent 0b4f8bc539
commit bb43076ca6
@@ -18,7 +18,7 @@ public class MixinInGameHud {
@Inject(method = "render", at = @At("RETURN"))
public void render(DrawContext context, float tickDelta, CallbackInfo ci) {
if(MinecraftClient.getInstance().options.getReducedDebugInfo().getValue()) return;
if (MinecraftClient.getInstance().inGameHud.getDebugHud().shouldShowDebugHud()) return;
RenderSystem.setShaderColor(1, 1, 1, 1);
RenderSystem.disableDepthTest();
@@ -37,4 +37,4 @@ public class MixinInGameHud {
}
}
}