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:
16
src/lib.rs
16
src/lib.rs
@@ -1,14 +1,6 @@
|
|||||||
use std::io;
|
pub mod level;
|
||||||
|
pub mod perlin;
|
||||||
use crate::level::{LevelDat, create_nbt};
|
pub mod player;
|
||||||
|
pub mod superflat;
|
||||||
mod level;
|
|
||||||
mod perlin;
|
|
||||||
mod player;
|
|
||||||
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