- 
    Bug 
- 
    Resolution: Fixed
- 
    Minecraft 1.8, Minecraft 1.8.1-pre4, Minecraft 1.8.1-pre5, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre3, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6, Minecraft 1.8.2-pre7, Minecraft 1.8.2, Minecraft 1.8.3, Minecraft 15w47c, Minecraft 1.12.2
- 
    None
- 
    Linux and OS X, Java 1.8u25, Java 1.8.0_66
- 
        Unconfirmed
After applying my patch to MC-3416 that draws the map markers in front of the map instead of behind it, bbbbbbbbba was able to take this screenshot that reveals that map markers have been duplicated: 
After a simple test I have a found a way to replicate this bug in vanilla:
- Create a new regular superflat world
- /tp 0 5 -200
- /setworldspawn
	- (to make sure 0,0 gets unloaded)
 
- /tp 5 5 5
- Create a map and put a copy in a frame, leaving one copy in your hand.
- /tp 5 5 200
- /tp 5 5 5
	- Repeat last two steps twice.
 
- Drop the map from your inventory and pick it up again
Your marker has now disappeared, because MC-3416 hides all markers except the first four and reloading the chunk three times has now duplicated the marker in the frame to fill slots 1-4.
I took some additional screenshots after a command block machine had teleported me back and forth for some time, which demonstrate both MC-3416 and this bug: The map marker has been duplicated and the markers are being offset in the wrong direction.
Code analysis by Marcono1234 in this comment.
- discovered while testing
- 
                    MC-3416 Player location marker invisible on map (wrong Z-Order). One-line fix included. - Resolved
 




