mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
SetupWizard: ask for max view distance
This commit is contained in:
parent
4466166f8b
commit
6494375a53
@ -174,6 +174,8 @@ LICENSE;
|
||||
|
||||
$config->set("max-players", (int) $this->getInput($this->lang->translate(KnownTranslationFactory::max_players()), (string) self::DEFAULT_PLAYERS));
|
||||
|
||||
$config->set("view-distance", (int) $this->getInput($this->lang->translate(KnownTranslationFactory::view_distance()), (string) Server::DEFAULT_MAX_VIEW_DISTANCE));
|
||||
|
||||
$config->save();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user