Fixed hud element appearing on the pause screen

This commit is contained in:
Sollace 2021-02-24 12:17:40 +02:00
parent bd74a03b8b
commit c2a959f031

View file

@ -51,7 +51,7 @@ public class UHud extends DrawableHelper {
public void render(InGameHud hud, MatrixStack matrices, float tickDelta) {
if (client.player == null || client.player.isSpectator()) {
if (client.player == null || client.player.isSpectator() || client.options.hudHidden) {
return;
}