mojira.dev
MC-50114

Use of the [team=] doesnt work with UUID commands

Small note :

Here, ae0984fa-0629-410a-8289-81277f833f09 is the UUID of an arrow.
________

The problem :

When using this command in a command block :

/tp @p[team=] ae0984fa-0629-410a-8289-81277f833f09

there this error message :
The entity UUID provided is in an invalid format

But when using this command

/tp @p[team=Blue] ae0984fa-0629-410a-8289-81277f833f09

its working.
I can only assume that the problem is not the UUID format but the attribute @p[team=].

Comments 4

Possibly the player selector

@p[team=]

results in an empty list, which triggers the invalid UUID message.

You're right Kumasasa :

When i test with someone who aren't in a team, the command with [team=] is working.

Only the error message is invalid.

Thanks a lot for your support !

Running into same issue. I'm using a simple setup to test if a player is on a team. I initially run command </scoreboard teams add a [Fighter]>, then </scoreboard teams join a [@p]>. But when I run </testfor @p[team=a]> I get the error message "The entity UUID provided is in an invalid format". I've tried to find some syntax error, but none exists. (Am working in 1.8.4}

ZMC

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved