Keep song progress display when f3 menu is open
This commit is contained in:
parent
13bcca213c
commit
420bd9502b
1 changed files with 0 additions and 4 deletions
|
@ -24,10 +24,6 @@ public class InGameHudMixin {
|
||||||
@Inject(method = "render(Lnet/minecraft/client/util/math/MatrixStack;F)V",
|
@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))
|
at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;enableBlend()V", ordinal = 4))
|
||||||
private void onRender(MatrixStack matrixStack, float tickDelta, CallbackInfo ci) {
|
private void onRender(MatrixStack matrixStack, float tickDelta, CallbackInfo ci) {
|
||||||
if (SongPlayer.MC.options.debugEnabled) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ProgressDisplay.getInstance().onRenderHUD(matrixStack, scaledWidth, scaledHeight, heldItemTooltipFade);
|
ProgressDisplay.getInstance().onRenderHUD(matrixStack, scaledWidth, scaledHeight, heldItemTooltipFade);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue