mojira.dev
MC-60421

testfor name, UUID is incorrect format (with fix)

/testfor @p[r=5,name=<owner>] (Copy/Past from wiki) does not work and gives an "incorrect format" error

HOWEVER, if you CAPITALIZE "Name" the testfor works.

I believe this is a bug or typo in the code and "name" should be lower case.

Attachments

Comments 7

nope, it is working for me

testfor @p[r=5,name=FVbico]

Can confirm, but your fix is no fix.
"Name=xxx" is not a recognizes keyword, you might also write "Apple=Banana" and @p[r=5] will still work.

I still cannot confirm this, I tryed both with command block and player executed

Derp. Of course username are case sensitive...

I was getting an error when I wrote the command with a lower case "n" for the "name=" tag... All I did was change it to a capitol "N" and the command started working.

So many bugs...

Edit: I see! I get it... "Apple=Banana"... What you are saying is that the Name= is being ignored and, although the command LOOKS like its working, ANYONE in the 5 radius would trigger the block. I'll have to test that.

Regardless, the Lower Case "n" isn't working at all.

Please re-check your name for correct capitalization.

I don't know... I made the N lower case again and everything started working. It WASN'T working before, but whatever it was seem to have worked itself out.

Please close the issue.
Thanx!

Joseph Barneski

(Unassigned)

Confirmed

Minecraft 14w27b

Retrieved