mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-26 00:40:15 +01:00
Fix some instances of chunks not appearing (#3498)
This commit is contained in:
parent
0b80c58958
commit
b8040a1d98
1 changed files with 4 additions and 0 deletions
|
@ -1402,6 +1402,10 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||
}
|
||||
|
||||
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;
|
||||
|
||||
ChunkRadiusUpdatedPacket chunkRadiusUpdatedPacket = new ChunkRadiusUpdatedPacket();
|
||||
|
|
Loading…
Reference in a new issue