This commit is contained in:
kawaiizenbo 2023-10-08 20:09:17 -07:00
parent a18cb2a137
commit 0982c30299
5 changed files with 9 additions and 9 deletions

View file

@ -24,7 +24,7 @@ public class HUDOverlay
public void render(DrawContext drawContext, int scaledWidth, int scaledHeight)
{
// do not draw if F3 enabled
if (mc.options.debugEnabled) return;
if (mc.getDebugHud().shouldShowDebugHud()) return;
// draw stats
drawContext.drawTextWithShadow(mc.textRenderer, "FPS: " + ColorUtils.gray + mc.fpsDebugString.split(" ")[0], 2, 2, Moonlight.uiColorA);