Mojira Archive
MC-82403

Scoreboard objective creation limited to 16 characters, but scoreboard arguments limited to 12 characters

When performing

/scoreboard objectives add <ObjectiveName> <criteria> [DisplayName]
/scoreboard objectives add BlahBlahBlahBlah dummy

the ObjectiveName is limited to 16 characters. The above command works perfectly.
However, when performing any command with scoreboard target selector arguments, such as

/testfor @a[score_<ObjectiveName>_min=1]
/testfor @a[score_BlahBlahBlahBlah_min=1]

the ObjectiveName is limited to 12 characters, which makes it useless to create any objective 13+ characters, since it cannot be used in target selector arguments.

To recreate this bug, run the following commands in order. Normally, the /testfor is supposed to succeed and say that it finds a player; however, that is not the case because "score_BlahBlahBlahBlah_min=1" has an objective that is over 12 characters long.

/scoreboard objectives add BlahBlahBlahBlah dummy
/scoreboard players set @a BlahBlahBlahBlah 1
/testfor @a[score_BlahBlahBlahBlah_min=1]

The reason why I think this is a bug is because it appears unintended. There is no point in creating an objective 13-16 characters long if it cannot be used in target selector arguments.

Thank you.

EDIT: For some reason it works now. I need to attempt to recreate the problem again. This is may not a bug. I apologize. How do I delete this issue if I cannot recreate the problem?

Cannot Reproduce

Timothy Nguyen

2015-07-16, 01:42 AM

2015-07-16, 08:52 AM

2015-07-16, 08:52 AM

0

1

Unconfirmed

Minecraft 1.8.7

-