Removed accidental println

Former-commit-id: a203e8105cd42463b9a72245e1623dde68874571
This commit is contained in:
Joshua Barretto 2019-05-17 22:55:50 +01:00
parent 7174830279
commit 5a2c7a7813

View File

@ -94,10 +94,10 @@ impl WriteVol for Chonk {
SubChunk::Homogeneous(cblock) if *cblock == block => Ok(()),
SubChunk::Homogeneous(cblock) => {
let mut new_chunk = Chunk::filled(*cblock, ());
match new_chunk.set(rpos, block).map_err(|err| {
println!("Error!! {:?}", rpos);
ChonkError::ChunkError(err)
}) {
match new_chunk
.set(rpos, block)
.map_err(|err| ChonkError::ChunkError(err))
{
Ok(()) => {
self.sub_chunks[sub_chunk_idx] = SubChunk::Heterogeneous(new_chunk);
Ok(())