Port socreboard numbers

This commit is contained in:
ThisIsALegitUsername 2022-12-29 02:27:25 +00:00
parent 2c3e5764c6
commit 403aa91a4b

View File

@ -511,7 +511,9 @@ public class GuiIngame extends Gui {
int l = parScaledResolution.getScaledWidth() - b0 + 2; int l = parScaledResolution.getScaledWidth() - b0 + 2;
drawRect(k1 - 2, k, l, k + this.getFontRenderer().FONT_HEIGHT, 1342177280); drawRect(k1 - 2, k, l, k + this.getFontRenderer().FONT_HEIGHT, 1342177280);
this.getFontRenderer().drawString(s1, k1, k, 553648127); this.getFontRenderer().drawString(s1, k1, k, 553648127);
if(W.scoreboardNumbers().enabled){
this.getFontRenderer().drawString(s2, l - this.getFontRenderer().getStringWidth(s2), k, 553648127); this.getFontRenderer().drawString(s2, l - this.getFontRenderer().getStringWidth(s2), k, 553648127);
}
if (j == arraylist1.size()) { if (j == arraylist1.size()) {
String s3 = parScoreObjective.getDisplayName(); String s3 = parScoreObjective.getDisplayName();
drawRect(k1 - 2, k - this.getFontRenderer().FONT_HEIGHT - 1, l, k - 1, 1610612736); drawRect(k1 - 2, k - this.getFontRenderer().FONT_HEIGHT - 1, l, k - 1, 1610612736);