forked from MinecraftUtilities/Backend
fix italics
This commit is contained in:
parent
69833bf560
commit
f85ed49545
@ -87,9 +87,9 @@ public class ServerPreviewRenderer extends Renderer<MinecraftServer> {
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user