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

/tp command syntax conflict

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.17.20.23 Beta, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Multiple

      Description

      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.

        Attachments

          Activity

            People

            Reporter:
            Chixvv Dl
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: