mojira.dev
MC-8903

Command blocks don't use @p, @a, or @r correctly

When I was trying to make a time machine with a command block set to "/tp @p -560 56 -343", the command block tried to teleport the player "@p" instead of the closest player. So I just had to put my playername in just to test. Before I reported this, I watched a few YouTube videos on the snapshot, and they all said that "@p doesn't work" or "I have to put my name in, I forgot that @p didn't work".

Related issues

Comments

GrygrFlzr

Cannot replicate.
Please provide additional information, so we can better help with your problem:

  • Was this a single player or multi-player/LAN game?

  • Was the issue corrected after logging out and back in?

  • Was the issue corrected after closing the program and restarting?

Sorin Iliuta

It does that to the teams command. It adds the player "@p" to the team instead of the player that is equivalent to @p.

Mustek

Duplicate of: [MC-8790] - Please use the search function to see if your bug has already been submitted.
Currently over 50% of tickets are being closed as duplicate.

Alluet

(Unassigned)

Unconfirmed

command_block, playertags, redstone

Snapshot 13w05a

Retrieved