Mojira Archive
MC-265971

Trying to use the "type" selector argument with @a, @p, or @r suggests all other arguments for tab completion

When typing an @a, @p or @r selector in a command and trying to use the "type" selector argument, before typing the equals sign, the chat tab-completes all applicable selector arguments, even though the result of actually tab-completing any of them still results in an invalid argument.

How to reproduce:

  1. Open a world with cheats enabled.
  2. Open chat and paste this without executing it: /kill @a[type
  3. Look at the command suggestions.

Expected result:

The error message "Option 'type' isn't applicable here at position 13: ...ll @a[type<--[HERE]" would appear above the chat box.

Observed result:

The command suggestions box popped up and suggested all applicable selector arguments.

Duplicate

[Mod] ManosSef

2023-10-20, 12:39 PM

2023-10-20, 02:33 PM

2023-10-20, 02:33 PM

0

1

Unconfirmed

(Unassigned)

1.20.2, 23w42a

-