Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-211745

Extra white-space on break-line for a long text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.16.5
    • None
    • Windows 10, Java 8
    • Unconfirmed
    • Text

      Hello,

      I'm a plugin maker that uses the Sponge API to create a plugin for 1.16+.
      I found a bug that I firstly thought it was linked to the API but actually it seems like its related to the brigadier changes brought in 1.16.

      So, when you write a long text and try to display it, you will have automatic break-lines to send the text on multiple lines. The problem is that after 1.16, there are extra whitespaces that appear after each break-line.

      To test this bug, I used the vanilla scoreboard API to give to each entity a score of 1, and then use the players-list command:

      /scoreboard players list

      This command displays a long text with all tracked entities on the scoreboard.

      In 1.16.5 (see image whitespace1.16.4), you have extra whitespace after each breakline but not in 1.15.2 (see image nowhitespace1.15.2)

      Thanks for reading this issue

            Unassigned Unassigned
            Kazź Thibault HENRY
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: