diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-03-16 14:01:22 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-16 21:38:57 +0100 |
commit | b9fce71bf68768ee86ce128f353fea5533f50732 (patch) | |
tree | ce0d3f88151971baa3adb5433aa15e072a5d02e3 /src/ChunkMap.cpp | |
parent | Fixed InfoReg.lua's handling of multi-level commands. (diff) | |
download | cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.gz cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.bz2 cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.lz cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.xz cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.zst cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkMap.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 40964c654..62c1ec544 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1383,6 +1383,13 @@ void cChunkMap::ReplaceTreeBlocks(const sSetBlockVector & a_Blocks) } break; } + case E_BLOCK_NEW_LEAVES: + { + if (itr->BlockType == E_BLOCK_NEW_LOG) + { + Chunk->SetBlock(itr->x, itr->y, itr->z, itr->BlockType, itr->BlockMeta); + } + } } } // for itr - a_Blocks[] } |