When player died, their selected item slot always reset to first instead of keep it and recovery.
It's not different for exit and re-join world, the latter will keep selected item slot when exit world, and recovery selected item slot when re-join the world.
It's exist VERY VERY LONG, at least started from year 2013, but it's usually ignored.
Step to reproduce
Select another hotbar slot (not first slot);
run
/kill;Press "Respawn".
Expected result
Player's selected item slot will keep when died.
Observed result
Game reset the player's selected item slot.
Thank you for helping us improve Minecraft! We saved your files: