fix: allow maximum view distance in singleplayer

This commit is contained in:
Songtronix 2020-07-06 10:37:44 +02:00
parent d63da1beb9
commit 200496d1bc

View File

@ -128,6 +128,7 @@ impl ServerSettings {
admins: vec!["singleplayer".to_string()], /* TODO: Let the player choose if they want
* to use admin commands or not */
persistence_db_dir,
max_view_distance: None,
..load // Fill in remaining fields from server_settings.ron.
}
}