Mojira Archive
MCPE-135004

/tp command syntax conflict

Here are two different syntaxes for tp or teleport:

 

teleport <destination: target> [checkForBlocks: Boolean]

teleport <victim: target> <destination: target> [checkForBlocks: Boolean]

 

however, if I type the following command, guess which one it will be resolved into

 

/tp @s true

 

Unexpectedly, it is resolved as the second syntax, and "true" is regarded as a player's name.

 

and of course, "true" can indeed be a player name under particular conditions

 

So the two syntaxes conflict.

 

Please remove the second argument in the first syntax.

Fixed

Dl

2021-07-13, 08:54 PM

2024-06-27, 01:06 PM

2024-06-27, 01:06 PM

3

3

Confirmed

719663

1.19.10.22 Preview - 1.19.731.19.10.22 Preview, 1.18.20.23 Beta, 1.18.0.21 Beta, 1.17.20.23 Beta, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10, 1.19.0, 1.19.51, 1.19.73

1.19.80.21 Preview