1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-03 13:27:23 +01:00

Fix setting the view distance to 32 ()

This commit is contained in:
froobynooby 2022-03-09 18:39:20 +09:30
parent 946d966fed
commit aca4d1cb0d

View file

@ -1467,7 +1467,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- this.updateChunkTracking(entityplayer, chunkcoordintpair, mutableobject, flag, flag1);
- });
- }
+ this.playerChunkManager.setLoadDistance(Mth.clamp(this.viewDistance, 2, 32)); // Paper - replace player loader system
+ this.playerChunkManager.setLoadDistance(this.viewDistance); // Paper - replace player loader system
}
}