Add World struct
We also check now if world exits
This commit is contained in:
1 parent
de7b3aa2ea
commit
222b40c8bd
6 files changed
+46
-17
No files matched your search
@@ -2,7 +2,7 @@ use std::collections::HashMap;
|
||||
|
||||
use fastnbt::LongArray;
|
||||
|
||||
use crate::{world::WorldError, WORLD_HEIGHT};
|
||||
use crate::{level::WorldError, WORLD_HEIGHT};
|
||||
|
||||
pub struct ChunkData {
|
||||
pub blocks: Box<[i32; 16 * 16 * WORLD_HEIGHT]>,
|
||||
|
||||
Reference in new issue
Block a user