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

Wrong suggestions are shown after inapplicable selector options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.1, 1.18.2, 22w11a, 22w12a, 22w14a, 22w15a, 22w17a, 22w18a, 1.19 Release Candidate 1, 1.19, 1.19.1 Pre-release 2, 1.19.2, 1.19.4 Pre-release 3
    • Confirmed
    • Commands
    • Low
    • Platform

      When an entity selector was written with an inapplicable option (e.g. type for @a/@p/@r, limit for @s), a wrong list of completions are shown afterwards.

      How to reproduce:

      1. Join a world with op permission
      2. Type:
        /msg @a[type

      Expected:
      No suggestions should be provided, and the type should be marked as an error.

      Observed:
      A list of selector options are suggested.

        1. Screenshot 2022-02-16 103011.jpg
          Screenshot 2022-02-16 103011.jpg
          22 kB
        2. MC-248632.png
          MC-248632.png
          1.09 MB
        3. MC-248632.mp4
          2.94 MB
        4. expected.jpg
          expected.jpg
          18 kB

            Unassigned Unassigned
            Sertonix Sertonix
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: