The bug
When enabling the Gamerule, doImmediateRespawn, it causes lag when the player has died after the screen freezes for 2 seconds.
How to Reproduce
- Create a new world
- Set the gamerule, doImmediateRespawn to true
- Enable FPS + TPS by doing F3 + Alt, and use the /kill command