mojira.dev
MC-9670

/testfor @p[] won't accept multiple arguments

When attaching a comparator to a command block with the code $testfor @p[ score_Kills_min=1, score_dummyName_min=1] the comparator doesn't give an output when both, none or one of the "ifs" is true. It only works for "testifs" with one parameter after the "@p["

Comments 4

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

This is caused by the "spaces" within the arguments, so "/testfor @p
[score_Kills_min=1,score_dummyName_min=1]" would probably work.

Agreeing with Kwin here; I think you're typing it with spaces in the command block, which is incorrect.

I cannot reproduce this in 13w19a, so even if it was a bug at some point, it's fixed now. But I doubt this bug ever existed to begin with.

Unable to reproduce either.

Thomas Redwig

(Unassigned)

Unconfirmed

redstone

Snapshot 13w06a

Retrieved