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

The first parameter of the /clear command must be changed to be required

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.2, 23w45a
    • Unconfirmed
    • Commands

      The current /clear command removes all of your inventory if there are no parameters. This may result in unintended permanent loss of the item due to mistakes such as typos.

      To solve this problem, you need to change the first parameter displayed as [<targets>] to <targets> and make it a required parameter.

      With the above changes in place, to remove all of your inventory you will need to type: /clear @s

            Unassigned Unassigned
            Minacle Minacle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: