Mojira Archive
MC-189549

Scoreboard objective 16 character limit safety is not reporting at the correct times

The following command executes and returns the message "Objective names cannot be longer than 16 characters" to the player in the chat.

/scoreboard objectives add test_test_test_test dummy

Yet, when trying to run the command to remove this same objective the command,

/scoreboard objectives remove test_test_test_test

refuses to even execute, with a message reporting the same thing as above but the command won't execute. I found this because when creating a data pack having the top command runs fine, but the second command renders the function file invalid and won't even register within MC as a function. having to go one by one through these lines trying to find the fact the objective length is to long is a waste of time.

It should be the same as the first function where there's just a message to the player and the command continues to allow execution of commands below them in a function.

Duplicate

Peter Ferranti

2020-06-14, 07:19 AM

2020-07-20, 02:49 PM

2020-07-18, 11:09 PM

0

0

Unconfirmed

(Unassigned)

scoreboard, scoreboard-objectives

1.15.2, 1.16 Pre-release 5

-