I wanted to clear my creative inventory and switch to survival and get my survival items out of a chest.
What I expected to happen was...:
I was planning on dropping my items off a cliff and having an empty inventory when I opened a chest.
What actually happened was...:
As soon as I opened the chest, all my dropped items were back in my inventory.
Steps to Reproduce:
1. I was in creative and when I dropped items out (not click and drag, but the drop key "q")
2. ALL items must be removed from inventory. Armor can remain in armor slots.
3. Go to a chest and open it and the dropped items will be on the floor where you dropped them, but also in your inventory. I was using a double chest, but I also tried a crafting table and the same happened.
4. You can click and drag items out of your inventory, but they will not be replaced. The bug also will not show up if the dropping action is not the last action. As in you can drag out and then drop items and the dropped items will come back, but if you drop items and then drag the rest out, nothing with duplicate.
Related issues
Attachments
Comments


Also the bug won't happen if you drop items in the hot bar using the scroll wheel and the drop key. It only seems to happen when the inventory is opened.
Dupe of MC-5415