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;
|
||||
|
||||
use crate::level::{LevelDat, create_nbt};
|
||||
|
||||
mod level;
|
||||
mod perlin;
|
||||
mod player;
|
||||
mod superflat;
|
||||
pub mod level;
|
||||
pub mod perlin;
|
||||
pub mod player;
|
||||
pub mod superflat;
|
||||
#[cfg(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