Scoreboard minimum requirement not used when checking command line.
Scoreboard minimum requirement not used when checking command line.
When I type in the following line in a command block...
scoreboard players remove @p[Score_Money_min=100] Money 100
I expect to have the scoreboard go, remove nearest player Money by 100 IF Money objective has a minimum value of 100.
However this is not the case for when this line is commanded it does not check a minimum requirement and just removes the Objectives value.
Steps to reproduce
1.create a command block with a line like the following.
scoreboard objectives add Money dummy Money
2.Then power that command block
3.create a command block with a line like the following.
scoreboard objectives setdisplay sidebar Money
4.Then power that command block
5.Create a command block with a line like the following.
scoreboard players add @a Gold 50
6.then power this command block once
7.Create The Faulty command line in a command block like below
scoreboard players remove @p[Score_Money_min=100] Money 100
8.activate the command block. You should get -50 in the sidebar display even though you did not have 100 minimum to start with.
Here are some images
http://i.imgur.com/jDHT4ZW.png
This image shows the line of command.
http://i.imgur.com/vKlzbIA.png
This image show me before i click with out reaching minimum requirements.
http://i.imgur.com/4S48BXH.png
This image shows me after clicking with a score of -50 even though it should not have worked.
2013-04-28, 04:43 PM
2017-12-30, 12:13 AM
2013-04-28, 06:28 PM
0
1
command, command_block, redstone, scoreboard
-