[MC-8903] Command blocks don't use @p, @a, or @r correctly Created: 01/Feb/13  Updated: 29/Dec/17  Resolved: 01/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w05a
Fix Version/s: None

Type: Bug
Reporter: Alluet Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: command_block, playertags, redstone
Environment:

Java Version 7 Update 9
Windows 8 Pro v. 6.2 Build 9200


Issue Links:
Duplicate
duplicates MC-8790 Scoreboard Teams function does not ac... Resolved
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

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".



 Comments   
Comment by Mustek [ 01/Feb/13 ]

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.

Comment by Sorin Iliuta [ 01/Feb/13 ]

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

Comment by GrygrFlzr [ 01/Feb/13 ]

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?
Generated at Sun Jan 12 12:19:19 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.