mojira.dev
MC-122225

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

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.

Comments 2

Affects 1.16 pre-release-1

Thank you for your report!
However, this issue is a Duplicate of MC-86994.

It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

Jonathan Widén

(Unassigned)

Confirmed

(Unassigned)

Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w48a, Minecraft 18w02a, Minecraft 18w16a, Minecraft 1.13.1, 1.16.2 Pre-release 1

Retrieved