[MC-8431] command block arguments do not work on scoreboard objectives Created: 26/Jan/13 Updated: 26/Jan/13 Resolved: 26/Jan/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Snapshot 13w04a |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Pepijn de Vos | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | None | ||
| Environment: |
java version "1.6.0_37" |
||
| Confirmation Status: | Unconfirmed |
| Game Mode: | Creative |
| Description |
|
I have set up a objective called "money" that shows up in the sidebar. I then gave myself some money. I added 2 command blocks. One that executes "give @p[money_min=1,r=5] 33" and the other "scoreboard players remove @p[money_min=1,r=5] 1" As expected, activating this configuration exchanges my money for dispensers. However, the command continues to decrement and spew dispensers until well below zero. |
| Comments |
| Comment by Pepijn de Vos [ 26/Jan/13 ] |
|
Thanks. I'll check the wiki to verify that it is listed correctly everywhere. I would like to add that error reporting could be improved |
| Comment by GrygrFlzr [ 26/Jan/13 ] |
|
Command blocks use the score_ prefix to refer to objectives. Your current setup is not filtering based on the amount of your money objective. |
| Comment by fhntv [ 26/Jan/13 ] |
|
money_min -that is wrong....i think you need to write score_money_min or somting...i dont remember.... |