mirror of
https://github.com/Cactus-minecraft-server/World.git
synced 2025-12-07 10:40:37 +00:00
minor changes
This commit is contained in:
@@ -1,6 +1,14 @@
|
|||||||
|
use std::io;
|
||||||
|
|
||||||
|
use crate::level::{LevelDat, create_nbt};
|
||||||
|
|
||||||
mod level;
|
mod level;
|
||||||
mod perlin;
|
mod perlin;
|
||||||
mod player;
|
mod player;
|
||||||
mod superflat;
|
mod superflat;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test;
|
mod test;
|
||||||
|
|
||||||
|
pub fn create_level(path: &str, data: &LevelDat) -> Result<(), io::Error> {
|
||||||
|
create_nbt(data, path)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user