Mojira Archive
MC-142685

Green item frame map markers are not removed in all cases

The bug

The green icon / marker displayed on a map when a copy of it is placed in an item frame is not removed in all situations.

Affected situations

Basically everything which does not call EntityItemFrame.removeItem(ItemStack) (MCP name)

  • When destroyed by explosion
  • When /killed
  • When map was removed by updating NBT
  • When ItemDropChance value prevents dropping
  • When gamerule doEntityDrops is false and item frame breaks, e.g. by removing supporting block

How to reproduce

  1. Switch to Creative mode for simplicity
  2. Create a map
  3. Place an item frame and place the map in it
  4. Use one of the affected situations described above
    The green icon remains even though the map is not inside the item frame anymore

Fixed

Marcono1234

[Mojang] Cory Scheviak

2019-01-19, 12:38 AM

2024-04-20, 12:39 AM

2019-04-05, 08:59 AM

2

4

Confirmed

UI

filled_map, item_frame, map

Minecraft 19w03c

Minecraft 19w14b