Fixed default font

This commit is contained in:
2026-03-07 18:06:51 +01:00
parent 5f63f8b37a
commit 4ddd650102
@@ -36,12 +36,8 @@ public class Fonts {
for (String line : text.split("\n")) { for (String line : text.split("\n")) {
w = Math.max(w, getWidth(line, getFont(font))); w = Math.max(w, getWidth(line, getFont(font)));
} }
if (font == 0) {
return w * 2;
} else {
return w; return w;
} }
}
private static int getWidth(String text, Identifier font) { private static int getWidth(String text, Identifier font) {
return SaturnClient.client.textRenderer.getWidth(setFont(text, font)); return SaturnClient.client.textRenderer.getWidth(setFont(text, font));