Mojira Archive
MC-132451

Command Parser - invalid value for block property and property name are reversed in error message

Relates to MC-131678.

When using an invalid value for a block property the name of the property and the invalid value are switched in the error message.

For instance the command:

/setblock ~ ~ ~ oak_log[axis=w]

Gives the following error message:

Block minecraft:oak_log does not accept 'axis' for w property

The correct message would be:

Block minecraft:oak_log does not accept 'w' for axis property

Fixed

Adrodoc55

2018-07-01, 02:17 AM

2018-08-04, 11:20 PM

2018-08-04, 11:20 PM

5

2

Confirmed

Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7

Minecraft 18w31a