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

Too long scoreboard objectives and team names are not detected when commands are parsed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w01a, 21w37a
    • Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w11a, Minecraft 1.13-pre6, Minecraft 1.13-pre9, Minecraft 1.13.1, Minecraft 18w47b, 1.15.1, 1.15.2, 1.16 Pre-release 5, 1.16.1, 20w29a, 1.16.2, 1.16.4, 20w49a, 21w03a, 21w05b, 1.17
    • Confirmed
    • (Unassigned)

      /scoreboard objectives add yellowWinBackslash dummy
      

      fails at runtime "Objective name can only be 16 characters"

      This would be an easy error to catch at parse/load time.

      I spent time debugging my functions trying to figure out why the exact same code worked for my red team and blue team but not my yellow team, until I realized it was because my yellow team's objective was ignored because its name was too long.

            boq [Mojang] Bartosz Bok
            brianmcn Brian McNamara
            Votes:
            12 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: