Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-34750

Message error when using clear command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.4.1 (Nintendo Switch), 1.6.0.1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Nintendo Switch
    • ADO:
      127456

      Description

      This can be resolved as fixed. 1.6.1

      When using the /clear command for specific item(s) or a specific amount of items, the chat message displays that the full number of items in the player's inventory has been cleared, despite many fewer items having actually been cleared.

      For example;
      1) Say you have an inventory full of Baked Potatoes. (2304 potatoes (why do you need so many? the world may never know...))

      2) A command is executed that is meant to clear out only 64 Baked Potatoes.

      3) The command goes through and the following incorrect message is displayed. (The message claims that 2304 items have been cleared, despite the command only removing 64 Baked Potatoes)

      4) And by checking the inventory, we can see that in fact only 64 Baked Potatoes were removed.

        Attachments

        1. 1) Before command.jpg
          1) Before command.jpg
          131 kB
        2. 2) Command example.jpg
          2) Command example.jpg
          12 kB
        3. 3) Displayed Message.jpg
          3) Displayed Message.jpg
          15 kB
        4. 4) After command.jpg
          4) After command.jpg
          128 kB

          Activity

            People

            • Reporter:
              Samaritan Samaritan
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: