Mojira Archive
MC-123277

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

/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.

Fixed

Brian McNamara

[Mojang] Bartosz Bok

2017-12-15, 06:08 PM

2021-07-13, 10:39 AM

2021-07-13, 10:39 AM

12

7

Confirmed

(Unassigned)

/scoreboard, /scoreboard-objectives, /team

Minecraft 17w50a - 1.17Minecraft 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

Minecraft 18w01a, 21w37a