In creative mode, if you have an item in hotbar slot 1 and hotbar slot 2, selecting item 2, going to your inventory and hovering over item 2 and pressing 1 will switch the items normally, but exiting the menu and right-clicking will cause the item to be replaced with whatever is in slot 1.
This bug was found in 12w40a, when switching items with number keys was added, and has been in every version since.
Related issues
Attachments
Comments


Duplicate of MC-341 , please use the search function to see if your bug has already been submitted. Currently over 42% of tickets are being closed as duplicate.

MC-341 and this one don't seem to be the same, can you explain how this is a duplicate?

Ok, linked to the strongly related MC-2912