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

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MC-123277, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

Peter Ferranti

(Unassigned)

Unconfirmed

(Unassigned)

scoreboard, scoreboard-objectives

1.15.2, 1.16 Pre-release 5

Retrieved