From f85ed49545bbf04fb32f9aae74fa40b943146b33 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 20 Apr 2024 21:17:25 +0100 Subject: [PATCH] fix italics --- .../common/renderer/impl/server/ServerPreviewRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xyz/mcutils/backend/common/renderer/impl/server/ServerPreviewRenderer.java b/src/main/java/xyz/mcutils/backend/common/renderer/impl/server/ServerPreviewRenderer.java index 8468985..614e83c 100644 --- a/src/main/java/xyz/mcutils/backend/common/renderer/impl/server/ServerPreviewRenderer.java +++ b/src/main/java/xyz/mcutils/backend/common/renderer/impl/server/ServerPreviewRenderer.java @@ -87,9 +87,9 @@ public class ServerPreviewRenderer extends Renderer { case 'o': graphics.setFont(Fonts.MINECRAFT_ITALIC); default: { try { + graphics.setFont(Fonts.MINECRAFT); Color color = ColorUtils.getMinecraftColor(colorCode); graphics.setColor(color); - graphics.setFont(Fonts.MINECRAFT); } catch (Exception ignored) { // Unknown color, can ignore the error }