Mojira Archive
MC-248632

Wrong suggestions are shown after inapplicable selector options

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.

Unresolved

Sertonix

2022-02-16, 09:37 AM

2023-08-23, 02:14 PM

4

4

Confirmed

Low

Platform

Commands

autocomplete, brigadier, command, target-selector

1.18.1 - 1.19.4 Pre-release 31.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

-