mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Removed accidental println
Former-commit-id: a203e8105cd42463b9a72245e1623dde68874571
This commit is contained in:
parent
7174830279
commit
5a2c7a7813
@ -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(())
|
||||
|
Loading…
Reference in New Issue
Block a user