mojira.dev
MC-32451

Brackets in scoreboard objectives break the whole command

I tryed using brackets in objectives the objectives worked and everything but if i try to use them as an argument in command blocks they screw up the whole command example: testfor searches for the player with the name "@a[score_(test)_min=1]" instead of searching for any player with the score of "(test)">=1 other things i reported that are caused by the same bug
( thought they were different after further testing i managed to figure this out)

other bugs i reported are:

MC-32420
MC-32422
MC-32447

you can look at them aswell for more information

Linked issues

Attachments

Comments 5

Edit: for mods wanting to recreate it:

step 1:
type the following commands
/scoreboard objectives add (test) dummy
/scoreboard objectives setdisplay sidebar (test)
/scoreboard players set "Your name" (test) 2

step 2:
build a clock and connect it to a command block using the command:
scoreboard players add @a[score_(test)_min=1] (test) 1

you should see player @a[score_(test)_min=1] getting all the points... which is the bug

now reapeat everything BUT use test instead of (test) everywhere

now it should give yourself the points thats how it should work..

edit: every link needs to be in [] brackets if you type the commands dont know why they turn into links D:

Confirmed in 1.7.4/5 and 1.8 snapshots following the given steps

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

No response for over a year.

Dennis Jakob

(Unassigned)

Confirmed

argument, brackets, command, command_block, objective, scoreboard

Minecraft 13w38c, Minecraft 1.7.4, Minecraft 14w08a, Minecraft 1.7.5

Retrieved