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

command blocks fail with space at end of command but same command in chat success

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 24w03b
    • None
    • Unconfirmed
    • (Unassigned)

      command blocks fail with space at end of command but same command in chat success. This might be intended based off of other reports.

          [MC-267987] command blocks fail with space at end of command but same command in chat success

          [Bot] Arisa added a comment -

          Thank you for your report!
          We're tracking this issue in MC-65034, so this ticket is being resolved and linked as a duplicate.

          If you would like to add a vote and any extra information to the main ticket it would be appreciated.

          If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

          Quick Links:
          ๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues)
          ๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki
          โ€“ I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

          [Bot] Arisa added a comment - Thank you for your report! We're tracking this issue in MC-65034 , so this ticket is being resolved and linked as a duplicate . If you would like to add a vote and any extra information to the main ticket it would be appreciated. If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned. Quick Links : ๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues) ๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki โ€“ I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

          [Mod] Jiingy added a comment -

          Tried /give and it did not trim the space in a command block as you said, thank you for clarifying.

          [Mod] Jiingy added a comment - Tried /give and it did not trim the space in a command block as you said, thank you for clarifying.

          user-f2760 (Inactive) added a comment - - edited

          /say's argument is a greedy string, it accepts any and all text. Try with a non-greedy command (e.g. /give)

          The reason it works in chat is because spaces get trimmed (removed at the end, and multiple after eachouter turned into 1) from chat. Meaning this is actually MC-65034.

          user-f2760 (Inactive) added a comment - - edited /say's argument is a greedy string, it accepts any and all text. Try with a non-greedy command (e.g. /give) The reason it works in chat is because spaces get trimmed (removed at the end, and multiple after eachouter turned into 1) from chat. Meaning this is actually MC-65034 .

          [Mod] Jiingy added a comment -

          Cannot reproduce this with a simple /say comamnd, what command did you use exactly?
          2024-01-19_13-57-21.mp4

          [Mod] Jiingy added a comment - Cannot reproduce this with a simple /say comamnd, what command did you use exactly? 2024-01-19_13-57-21.mp4

            Unassigned Unassigned
            Rays Ray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: