mojira.dev
MC-38417

Location parameters not working when selecting a non-specific player.

Created a command block with the command tp @a[70,64,-15,1] 60.5 68 -2.5

What was expected was for all players centered on 70,64,-15 in a 3x3 area to be teleported to 60.5,68,-2.5. what actually happened was it would simply teleport all players to 60.5 68 -2.5 regardless of where they we're.

To reproduce simply create a command block with an effect that targets a player and instead of using a specific name use @a,@p or @a then apply location restrictions and trigger the command block. You will be targeted regardless of your location.

Linked issues

Comments 0

No comments.

Steven Valenski

(Unassigned)

Unconfirmed

command, command_block, location, parameters

Minecraft 1.7.2

Retrieved