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

/clear when a map opens in another inventory slot will cause glitched map

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w48a, Minecraft 18w02a, Minecraft 18w16a, Minecraft 1.13.1, 1.16.2 Pre-release 1
    • None
    • Confirmed
    • (Unassigned)

      The bug

      If you have two maps in one slot, and you open one of them, the filled map will be put in another inventory slot. But if you set a clock clearing all filled maps, the map which opens in another slot will be glitched out.
      The glitched map got these properties:

      • In creative, the map can be moved around in your inventory, but can't be cleared with commands.
      • If moved around in inventory, the /clear command will trigger, giving the output that it cleared 1 item from you, but the glitched map is still there
      • In survival, if you try to move around the map, it will disappear
      • If you drop the map, it will instantly disappear

      How to reproduce

      1. Put down a command block
      2. Set it to repeat, always active, and use this command:
        clear @a filled_map
        
      1. Then, give yourself 2 maps and put them in the same hotbar slot
      2. Activate one of the maps
      3. The activated map is glitched out

      Please watch this video for a demonstration.

            Unassigned Unassigned
            CMDJojo Jonathan Widén
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: