Mojira Archive
MC-86153

Ctrl Pick Block gives new item even if picked item already exists in inventory

The bug

When I hold CTRL then click MOUSE3 (Mouse Scroll), it gives me more than one of the same, and changes my selected item to the furthest block on the right, that I chosen with CTRL+MOUSE3. I've only tried this on the chest, furnace, and command block.

Code analysis

Code analysis by Marcono1234 in this comment.