mojira.dev
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

Linked issues

Attachments

Comments 4

Confirmed for Minecraft 1.13-pre7

Confirmed for Minecraft 1.13-pre8

Solved in my report.

Adrodoc55

(Unassigned)

Confirmed

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

Minecraft 18w31a

Retrieved