So, the output command, "/testfor @p[r=2,m=1]" doesn't work. I tried it with the comparator and everything, but still, the Command Block ignores the "m=1" part.
I also tried the "/testfor @p[r=2,m=!1]" (with an exclamation mark next to it), but it had no outcome. It still ignored the data string "m" and just looked for all the players in the radius of 2.
I want to use the command for a map. So the commands won't activate, I need to add a string that ignores Creative-mode players (the one who's building the map) and just find the survival (and other gamemode) players, because even in Spectator mode, you can still activate /testfor radius commands.
Linked issues
is duplicated by 1
Attachments
Comments 9
Won't work as well... It will only use the last one... You need a different command for every mode...
It's not a discussion here... Someone thought there is a bug but there is no bug! So let's not talk about it anymore...
Confirmed.
I have a clock executing these two commands (Or variations as the mode somehow gets ignored randomly...)
/gamemode adventure @a[x=5000,y=200,z=5000,r=300,m=0]
/gamemode survival @a[x=5000,y=200,z=5000,rm=300,m=2]
It works fine, the somehow the first one gets ignored (Atleast for the comparator output...)
I tried the "/testfor @p[r=2,m=1]" command and it does work... it finds only 1 player which is closest and is in the radius of 2 and in creative... I don't understand the problem... The seconds command does not supposed to work! That ! thing is only working with scoreboard objectives, names, types... Only words! Not numbers!