Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-263066

Running teleport commands with missing coordinates outputs a misleading error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.19.4, 1.20 Pre-release 7
    • None
    • Unconfirmed
    • (Unassigned)

      The Bug:

      Running teleport commands with missing coordinates outputs a misleading error message.

      When running a teleport command with missing coordinates, the error message "No entity was found" is outputted. This is incorrect and misleading because an entity was actually found. The problem is that not all coordinates have been provided within the command.

      Steps to Reproduce:

      1. Run a teleport command with missing coordinates by using the command provided below.
        /tp @s 0
      2. Look at the error message that's printed in chat.
      3. Take note as to whether or not running teleport commands with missing coordinates outputs a misleading error message.

      Observed Behavior:

      The error message "No entity is found" is outputted. This is misleading because an entity was actually found. The problem with the command is the missing coordinates.

      Expected Behavior:

      A misleading error message would not be outputted. Instead, an error message such as "Missing coordinates in command" should be outputted, as this would accurately inform the user what the error is.

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: