Added logic to generate chunks if they can't be read from the world file.
Moved warning about ./world folder to only appear when necessary + Updated warning contents to reflect changes Made the save_file in the `Level` struct optional in case someone wants an entirely generated World. Removed now redundant asserts.
This commit is contained in:
1 parent
43c724dec7
commit
112a899559
2 files changed
+57
-22
No files matched your search
@@ -102,7 +102,6 @@ impl Server {
|
||||
log::info!("Loading Plugins");
|
||||
let plugin_loader = PluginLoader::load();
|
||||
|
||||
log::warn!("Pumpkin does currently not have World or Chunk generation, Using ../world folder with vanilla pregenerated chunks");
|
||||
let world = World::load(Dimension::OverWorld.into_level(
|
||||
// TODO: load form config
|
||||
"./world".parse().unwrap(),
|
||||
|
||||
Reference in new issue
Block a user