Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-132451

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7
    • Fix Version/s: Minecraft 18w31a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Adrodoc55 Adrodoc55
              • Votes:
                5 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: