mojira.dev
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.

Linked issues

Comments 8

this is not fixed (unchanged) in 18w01a, please re-open

In 1.16.1 and 20w29a.

Can confirm in 20w49a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 1.17.

Brian McNamara

boq

Confirmed

(Unassigned)

/scoreboard, /scoreboard-objectives, /team

Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w11a, Minecraft 1.13-pre6, Minecraft 1.13-pre9, ..., 1.16.4, 20w49a, 21w03a, 21w05b, 1.17

Minecraft 18w01a, 21w37a

Retrieved