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

You can input any value in [old block handling] of setblock and fill

XMLWordPrintable

    • Confirmed

      The bug

      See title.

      For example:

      /setblock ~ ~ ~ chest default invalidArgument {CustomName:"hi"}
      

      works, but the invalidArgument for old block handling is not a valid value; it instead picks replace.

      /fill ~ ~ ~ ~ ~ ~ stone default invalidArgument air
      fill ~ ~ ~ ~ ~ ~ chest default invalidArgument {CustomName:"hi"}
      

      both work, but the invalidArgument for old block handling is not a valid value; it instead picks replace, but ignores the filter options.

      Expected behaviour

      The command should not be executed but instead a message similar to the following one should be sent

      'invalidArgument' is not a valid old block handling
      

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: