Not sure if this is the same across all versions but on 1.16.10 if you save and quit while affected by this bug you'll be in a different location when you load back into the world. This only seems to work if the bug is being caused by lava and not water.
Not sure if this is the same across all versions but on 1.16.10 if you save and quit while affected by this bug you'll be in a different location when you load back into the world. This only seems to work if the bug is being caused by lava and not water.