Reproduce:
/execute @p ~ ~ ~ tp ~ ~1 ~
Maybe it's on purpose, but I think it should tp the person who the execute is used on.
Another similar, but bit different issue:
/spawnpoint <player> doesn't work at all.
examples:
/spawnpoint @a --> no, it tells me usage
/spawnpoint @p --> same
/spawnpoint feca1997 --> same (I thought at least this would work)
/spawnpoint and /spawnpoint @a ~ ~ ~ work as intended.
Linked issues
Attachments
Comments 10
Yeah, I know, but still "/execute @p ~ ~ ~ tp ~ ~ ~" should be ran as the player ran it. Not a big deal, but it's still a bug I think. 🙂
Yeah, I expect /execute to execute the command as if the player wrote it him/herself, which means that commands like "/execute @p ~ ~ ~ clear" should work. Maybe I'm expecting to much 😛
I think it is intended as it runs a command at the player, so the command has to be typed like normal so tp would be /tp <player> <x> <y> <z>
But it's not a random command ran at the player, it is executed BY the player, though as he'd be OP.
If you do "/execute @p ~ ~ ~ say Hi" it will say "Hi" AS the player. (see pic)
"/spawnpoint @a" without coords doesn't work either. I guess it's different, but I don't want to create a whole new issue.
Spawnpoint issue reported here: MC-59358
I don't understand what the bug is here. You don't need execute for tp. tp with relative coordinates are internally based off the player location. You can radius with the selector to determine who gets teleported. What is the issue? Maybe explain what you want to do.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
Probably duplicate of MC-79677
Can reproduce, also happens with other commands that usually doesn't require players, like clear.