Players can now respawn at bedrock level when:
The default gamemode is set to adventure mode.
The chunk with the world spawnpoint (doesn’t matter where it was set) is unloaded
Steps to reproduce:
Create a new world with cheats enabled
/defaultgamemode adventure
/tp 5000 100 5000
Wait a few seconds to ensure the chunks at the spawnpoint are unloaded
/kill and click respawn
Expected result:
You respawn at the surface of the world at the X/Z of the world spawn.
Actual result:
You respawn at the bottom of the world (inside bedrock layers) at the X/Z of the world spawn.
This bug is serious in 26.2 since when you switch game mode in settings or doing /gamemode adventure instead of /defaultgamemode adventure, not only your personal gamemode changed, but the default gamemode also changed. This might break many adverture mode maps. I think the priority for this bug should be advanced to “important” or ”very important”.