Changed default view-distance

This commit is contained in:
Shoghi Cervantes
2014-06-22 23:25:43 +02:00
parent 6f9becdbb3
commit 496c004efc
2 changed files with 4 additions and 3 deletions

View File

@ -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));
}
/**