Fix server switching with larger render distances
The server only started sending its render distance during 1.14. ViaVersion compensates by sending 64 as the render distance, always - but this can choke up Bedrock in various ways. This PR fixes two separate issues related:
- In some instances, the client would be stuck on Building Terrain during server switch. This is solved by fake-decreasing the render distance during server transfer. Zero issues have been found thus far.
- When switching servers, chunks could be dropped. While not pretty, if the client is not spawned, they are teleported to near the chunks so they cannot be unloaded.
May I ask when it will be merged?
I've been meaning to get some more testing going and possibly clean up the PR a bit - this feels hacky but hackiness is better than unworkable behavior.
Is this pr going to be merged? Or is it solved by other means?
Is this still on the work?
Closing as stale - this would need to be re-made anyways