mojira.dev
MC-131769

/effect command displays incorrect error message when using invalid Amplifier parameter

Example of an incorrect error message:

Command: /effect give @p speed 10 100000 <= (invalid)

ErrorMessage: Integer must not be more than 100000, found 255 at position <pos>

_*

_Basically, the ErrorMessage was supposed to say:_

*_Integer must not be more than 255, found 100000 at position <pos>

 

Somehow it got mixed up

Linked issues

Attachments

Comments 4

Can confirm for 1.13-pre3.

Relates to these lines in the lang files:

"argument.double.low": "Double must not be less than %s, found %s",
"argument.double.big": "Double must not be more than %s, found %s",
"argument.float.low": "Float must not be less than %s, found %s",
"argument.float.big": "Float must not be more than %s, found %s",
"argument.integer.low": "Integer must not be less than %s, found %s",
"argument.integer.big": "Integer must not be more than %s, found %s",

Not really related to the translation string, but related to the order of filling in the placeholders

Confirmed for 1.13-pre3.

This applies to any command argument that is a number, see MC-131932.

Low Ji Yuan

(Unassigned)

Confirmed

Minecraft 1.13-pre3

Minecraft 1.13

Retrieved