mojira.dev
MC-106694

mode argument only uses last one

When inputting /testfor @a[m=1,m=2], only the last one is used.

Error caused by (what I think is) not having both game modes at once.

Possible fix: /testfor @a[m=1,m=2] -works with both characters
Possible fix: /testfor @a[m=1;2] -alow one arguement to have multiple inputs, such as having multiple score_* arguements

Comments 3

you can't have the same tag multiple times in tag=value pairs, scoreboard works fine as the tag name is score_OBJECTIVE(_min).

Well isn't that a bug as well? You can't test if an entity has multiple tags with one testfor command, even though a tag argument is available to players.

And yes, multiple scoreboards work because the argument you are testing for is different because of the objective variable.

My point: you can test for multiple scores, but not multiple modes or... now that you mentioned it.. tags as well.

No, it's not a bug, and it works by design, for feature requests/changes go to the reddit.

user-2a4c8

(Unassigned)

Unconfirmed

Minecraft 1.10.2

Retrieved