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

Message about "only one entity allowed" only displayed if the selector has square brackets

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 18w11a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      The bug:
      In some places commands require the selector to be able to target only one entity. When the selector doesn't include the square brackets (i.e @e) the message above the chat bar will not display. As opposed to when the selector has square brackets (i.e @e[]). The user should be notified regardless of there being square brackets or not.

      To reproduce:
      1. Type in chat: /execute if score @s someScore = @e someScore
      2. Notice no message displayed above the chat bar.
      3. Type in chat: /execute if score @s someScore = @e[]
      (with space after the selector)
      4. Notice the message about only one entity allowed appear.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Maxaxik M
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: