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
- Switch to Creative mode for simplicity
- Create a map
- Place an item frame and place the map in it
- Use one of the affected situations described above
→
The green icon remains even though the map is not inside the item frame anymore
2019-01-19, 12:38 AM
2024-04-20, 12:39 AM
2019-04-05, 08:59 AM
2
4