mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-23 08:49:23 +00:00
Fix some instances of chunks not appearing (#3498)
This commit is contained in:
@@ -1402,6 +1402,10 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setServerRenderDistance(int renderDistance) {
|
public void setServerRenderDistance(int renderDistance) {
|
||||||
|
// +1 is for Fabric and Spigot
|
||||||
|
// Without the client misses loading some chunks per https://github.com/GeyserMC/Geyser/issues/3490
|
||||||
|
// Fog still appears essentially normally
|
||||||
|
renderDistance = renderDistance + 1;
|
||||||
this.serverRenderDistance = renderDistance;
|
this.serverRenderDistance = renderDistance;
|
||||||
|
|
||||||
ChunkRadiusUpdatedPacket chunkRadiusUpdatedPacket = new ChunkRadiusUpdatedPacket();
|
ChunkRadiusUpdatedPacket chunkRadiusUpdatedPacket = new ChunkRadiusUpdatedPacket();
|
||||||
|
|||||||
Reference in New Issue
Block a user