world: load all sections, reduce logging

This commit is contained in:
ice_iix 2022-07-31 18:47:11 -07:00
parent baeeb5a818
commit 9bb5416b90
1 changed files with 1 additions and 4 deletions

View File

@ -1036,9 +1036,6 @@ impl World {
let mut data = Cursor::new(data);
let cpos = CPos(x, z);
if x != 0 || z != 0 {
return Ok(());
}
{
if new {
self.chunks.insert(cpos, Chunk::new(cpos));
@ -1169,7 +1166,7 @@ impl World {
chunk.position.1 << 4,
);
println!("bi {} = {} = {:?} at {:?}", bi, id, b, pos);
//println!("bi {} = {} = {:?} at {:?}", bi, id, b, pos);
if block_entity::BlockEntityType::get_block_entity(b).is_some() {
let pos = Position::new(
(bi & 0xF) as i32,