mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Changed default view-distance
This commit is contained in:
@ -269,7 +269,7 @@ class Server{
|
||||
* @return int
|
||||
*/
|
||||
public function getViewDistance(){
|
||||
return $this->getConfigInt("view-distance", 8);
|
||||
return min(11, max($this->getConfigInt("view-distance", 7), 4));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user