From 420bd9502b5153ec3a7e66e9a05b6b4c19696aed Mon Sep 17 00:00:00 2001 From: Harry Zhou Date: Sun, 3 Jul 2022 20:08:02 -0500 Subject: [PATCH] Keep song progress display when f3 menu is open --- .../com/github/hhhzzzsss/songplayer/mixin/InGameHudMixin.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/github/hhhzzzsss/songplayer/mixin/InGameHudMixin.java b/src/main/java/com/github/hhhzzzsss/songplayer/mixin/InGameHudMixin.java index fba7d00..843162a 100644 --- a/src/main/java/com/github/hhhzzzsss/songplayer/mixin/InGameHudMixin.java +++ b/src/main/java/com/github/hhhzzzsss/songplayer/mixin/InGameHudMixin.java @@ -24,10 +24,6 @@ public class InGameHudMixin { @Inject(method = "render(Lnet/minecraft/client/util/math/MatrixStack;F)V", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;enableBlend()V", ordinal = 4)) private void onRender(MatrixStack matrixStack, float tickDelta, CallbackInfo ci) { - if (SongPlayer.MC.options.debugEnabled) { - return; - } - ProgressDisplay.getInstance().onRenderHUD(matrixStack, scaledWidth, scaledHeight, heldItemTooltipFade); } }