Mojira Archive
MC-103947

Score Target Arguments Ignored if an Entity's Score is Reset

If you have a previously placed command block that is being executed once a tick (always active chain command block or repeat command block), with arguments saying a max score and/or minimum score, and you reset the targeted entity's score, the one or two parameters will be ignored.
So, if its not in the score range specified, it will still execute the command nonetheless if you are increasing the score.

The commands I used were exact commands
/scoreboard objectives add Hoverboat dummy
/scoreboard players add @e[tag=Hoverboat] Hoverboat 1
entitydata @e[tag=Hoverboat,score_Hoverboat_min=1,score_Hoverboat=10]

{Motion:[0.0,0.5,0.0]}

/scoreboard players reset @e[tag=Hoverboat]

The score will still increase, but the command will still be executed if the score is above or below the specified parameters in the target.

Awaiting Response

Jason Ye

2016-06-21, 11:32 PM

2016-07-15, 08:09 AM

2016-06-29, 12:18 AM

0

3

Unconfirmed

Minecraft 1.10

-