mojira.dev
MC-26786

/tp command not targeting properly

While I was making a map, I was trying to teleport players to a certain location, I couldn't do it because minecrfat kept telling me: That player can't be found

Attachments

Comments 3

Where is the bug ?
Please attach screenshots of the command blocks.

The teleportation format is:

/tp <Player>[Arguments] X Y Z

Your arguments are correct, but you need a space between the end bracket "]" and the "X", the "X" and the "Y", and the "Y" and the Z".

You might not need them between the X, Y, and Z (that's just how I write them), but you need a space to separate the ending bracket of the arguments from the location. So:

/tp @p[63,8,-759,r=22,m=2,team=pregame] -4 47 -753

Thanks Neospector, works now!

Dave Baldwin

(Unassigned)

Unconfirmed

targeting, teleport

Minecraft 1.6.2

Retrieved