Steps to reproduce
1. Open a container block (Chests can be used)
2. Highlight a hotbar slot
3. Hold down ESC and 1 keys at the same time
Crash. Log in attachments.
Linked issues
Attachments
Comments 4
Confirmed. Takes a few tries to get it. http://hopper.minecraft.net/crashes/minecraft/MCX-1580705/
This might be the reason why it crashes. When you reproduce this bug, this is what happens:
When you press 1 while highlighting a slot, the game checks if there is anything in the 1st slot of the chest the player is opening. If there is anything in chest slot 1, the game moves the items in that slot to the highlighted inventory slot. If the game does the check after the chest is closed, it gets confused and crashes while "updating screen events".
It can be fixed by adding a 15-20 tick delay before closing a Container TileEntity when pressing ESC, dying, being teleported, and going in a nether portal.
Cannot reproduce.