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/Blocks/BlockLeaves.h | |
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/Blocks/BlockLeaves.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockLeaves.h b/src/Blocks/BlockLeaves.h index 7b8f0b378..954b993d6 100644 --- a/src/Blocks/BlockLeaves.h +++ b/src/Blocks/BlockLeaves.h @@ -16,6 +16,7 @@ { \ case E_BLOCK_LEAVES: a_Area.SetBlockType(x, y, z, (BLOCKTYPE)(E_BLOCK_SPONGE + i + 1)); break; \ case E_BLOCK_LOG: return true; \ + case E_BLOCK_NEW_LOG: return true; \ } bool HasNearLog(cBlockArea &a_Area, int a_BlockX, int a_BlockY, int a_BlockZ); @@ -86,7 +87,7 @@ public: return; } - if ((Meta & 0x8) != 0) + if ((Meta & 0x8) == 0) { // These leaves have been checked for decay lately and nothing around them changed return; |