TextStyles.BOLD isn't working

player.getPlayer().sendMessage(Text.of(TextColors.BLUE, TextStyles.BOLD, “a”));
Sponge.getServer().getBroadcastChannel().send(Text.of(TextColors.BLUE, TextStyles.BOLD, “a”));


Try this.

Text text = Text.builder("a").color(TextColor.BLUE).style(TextStyles.BOLD).build();

Don’t works

adding: I’m running SpongeForge-1.12.2-2838-7.1.7-RC3908

Dont work? As in the same issue or something else?

Ive not tried that version, due to some recent changes in Sponge some stuff has broken, this maybe one of the issues however I will give it a go tomorrow

It’s a bug from when converting back and forth between Text and the internal ITextComponents. I’m fixing it now.

EDIT: 1.12.2-2838-7.1.7-RC3909 is now available that fixes this

1 Like