[MC-11431] "score_" - Argument doesn't work properly Created: 09/Mar/13  Updated: 09/Mar/13  Resolved: 09/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w10b, Minecraft 1.5
Fix Version/s: None

Type: Bug
Reporter: CrushedPixel Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: None
Environment:

PC, Java 7 64bit


Attachments: PNG File bugtrack.png    
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

My friend Johni and I are working on a PvP Map, and we wanted a new game only to start when at least 4 players have voted for any map.

But we also wanted that no new game would start if a there is already one running (of course).

So we created a scoreboard objective called inGame.
And we were checking with a clock whether there were players ingame to avoid double games etc.

But the comparator kept outputting a signal on a "testfor @a[score_inGame=1] - Command - even if there was no one with inGame on 1!

We tested this in multiple versions and I wonder if this happened to someone else, too.

For our Maps, check out http://youtube.com/CrushedPixel BTW

Hope someone fixes this soon.

Thanks in advance,
CrushedPixel and Johni0702



 Comments   
Comment by Kumasasa [ 09/Mar/13 ]

The output of commend block is correct, all players with a score inGame of at most 1 are selected.

The correct syntax for your case is @a[score_inGame_min=1].

Read the basics here http://www.minecraftwiki.net/wiki/Scoreboard

Generated at Sun Jan 12 12:27:37 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.