mojira.dev
MC-124978

Selector syntax help overwrites error messages

The bug

The selector syntax help overwrites error messages. Instead if possible both messages should be displayed.

How to reproduce

Type or copy the following command

/data get entity @e[type=player

→ ❌ Only the syntax help is shown despite the selector being invalid because it can target more than one entity

Linked issues

Attachments

Comments 9

May be intended since you're clearly not finished completing that argument.

Can confirm in 1.16.5 and 21w19a.

Can confirm in 1.17.

Can confirm in 1.17.1. Video attached.

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 21w11a.

Can confirm in 1.19 and 22w24a.

Can confirm in 1.19.2.

marcono1234

(Unassigned)

Confirmed

(Unassigned)

command-syntax-help, selector-syntax-help

Minecraft 18w06a, Minecraft 18w20c, Minecraft 1.13.1, 1.16.5, 21w19a, ..., 22w24a, 1.19.2, 1.19.3, 24w35a, 1.21.4

Retrieved