Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-135004

/tp command syntax conflict

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.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
    • None
    • Confirmed
    • Multiple
    • 719663

      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.

            Chixvv Dl
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: