Geyser icon indicating copy to clipboard operation
Geyser copied to clipboard

Fix server switching with larger render distances

Open Camotoy opened this issue 3 years ago • 4 comments

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.

Camotoy avatar Apr 23 '21 20:04 Camotoy