EternalCodeTeam/EternalCore

Center tag is not working properly.

failutee opened this issue · 3 comments

Describe the bug
The line without bold is positioned correctly, while the first line with bold is moved to the right
Config => "<b><center>SIEMA TO JEST TEKST XD</center></b><newline><center>SIEMA TO JEST TEKST XD</center>"

Expected behavior
The tag should be positioned in the middle, regardless of the bold or color assigned

Screenshots
image

Platform:

  • Java Version: 17
  • Server software: PaperMC#194 1.20.1

Try: <center><b>SIEMA TO JEST TEKST XD</b></center>

Try: <center><b>SIEMA TO JEST TEKST XD</b></center>

I tried, the error still occurs

Try: <center><b>SIEMA TO JEST TEKST XD</b></center>

I tried, the error still occurs

To be honest, I'm not a big fan of centering messages in Minecraft. It lacks responsiveness, and the moment a player adjusts the chat width even slightly wider, the centering won't remain perfect. Perhaps one of us will attempt to address this issue at some point, though it's unlikely to happen in the near future. It would be much more appealing if Minecraft were to offer an option to customize the chat width – that would make a lot more sense, in my opinion.