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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w11a
    • None
    • Confirmed

      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.

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

              Created:
              Updated:
              Resolved:
              CHK: