diff options
Diffstat (limited to '')
-rw-r--r-- | source/cChunkMap.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp index 0cf6e6c6d..e8167e3a5 100644 --- a/source/cChunkMap.cpp +++ b/source/cChunkMap.cpp @@ -697,6 +697,14 @@ void cChunkMap::ReplaceTreeBlocks(const sSetBlockVector & a_Blocks) Chunk->SetBlock(itr->x, itr->y, itr->z, itr->BlockType, itr->BlockMeta); break; } + case E_BLOCK_LEAVES: + { + if (itr->BlockType == E_BLOCK_LOG) + { + Chunk->SetBlock(itr->x, itr->y, itr->z, itr->BlockType, itr->BlockMeta); + } + break; + } } } // for itr - a_Blocks[] } |