Mojira Archive
MC-121809

Wrong entity type and count command exceptions don't fit with error position indicator

The bug

Command exceptions for wrong entity types or count don't fit with the error position indicator because the messages are ending with a period.

Only players may be affected by this command, but the provided selector includes entities. at position 0: <--[HERE]

Affected exceptions

Translation key Message Command to reproduce
argument.entity.toomany Only one entity is allowed, but the provided selector allows more than one. /data get entity @e see MC-121808
argument.player.toomany Only one player is allowed, but the provided selector allows more than one. /data get entity @e see MC-121808
argument.player.entities Only players may be affected by this command, but the provided selector includes entities. /gamemode survival @e

Fixed

Marcono1234

2017-11-11, 12:16 AM

2020-04-30, 10:18 PM

2020-04-30, 10:18 PM

1

1

Confirmed

(Unassigned)

error-message, selector

Minecraft 17w45b, Minecraft 18w01a, Minecraft 18w07c

Minecraft 1.13-pre2