From 403aa91a4b4e6b4f6d5e920ed074f488cce6a6e9 Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Thu, 29 Dec 2022 02:27:25 +0000 Subject: [PATCH] Port socreboard numbers --- src/main/java/net/minecraft/client/gui/GuiIngame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minecraft/client/gui/GuiIngame.java b/src/main/java/net/minecraft/client/gui/GuiIngame.java index 12d27cf5..b0364411 100644 --- a/src/main/java/net/minecraft/client/gui/GuiIngame.java +++ b/src/main/java/net/minecraft/client/gui/GuiIngame.java @@ -511,7 +511,9 @@ public class GuiIngame extends Gui { int l = parScaledResolution.getScaledWidth() - b0 + 2; drawRect(k1 - 2, k, l, k + this.getFontRenderer().FONT_HEIGHT, 1342177280); this.getFontRenderer().drawString(s1, k1, k, 553648127); + if(W.scoreboardNumbers().enabled){ this.getFontRenderer().drawString(s2, l - this.getFontRenderer().getStringWidth(s2), k, 553648127); + } if (j == arraylist1.size()) { String s3 = parScoreObjective.getDisplayName(); drawRect(k1 - 2, k - this.getFontRenderer().FONT_HEIGHT - 1, l, k - 1, 1610612736);