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:
- Join a world with op permission
- Type:
/msg @a[type
Expected:
No suggestions should be provided, and the type should be marked as an error.