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

Calculate name plate length based on username stripped of color codes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.4.3
    • Minecraft 1.4.1
    • None
    • All operating systems + java versions are affected.
    • Unconfirmed

      Note: This may well be fixed in 1.4, but it's impossible for me to check due to the lack of a Bukkit build.

      Currently, adding colour codes to a user's name plate causes the length calculation for the blackbox under the text to be inaccurate, leaving a gap at the end as shown in the screenshot that is attached.

      To fix this, the nameplate length needs to be calculated after using a version of the username stripped of all characters. This would allow colouring nameplates without this visual glitch, at least until the API is ready.

            grum [Mojang] Grum (Erik Broes)
            lol768 lol768
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: