Fix setting the view distance to 32 (#7503)
This commit is contained in:
		
					parent
					
						
							
								946d966fed
							
						
					
				
			
			
				commit
				
					
						aca4d1cb0d
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
         }
 | 
			
		||||
 
 | 
			
		||||
     }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue