summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 22:23:08 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 22:23:08 +0200
commit7a9f9ab744e88267299b347ac6c9171acfe3afaa (patch)
tree7cc853f2e143ec42948e5b44f207d286cc9db039 /src/Blocks
parentInitial version of a script to check basic style. (diff)
parentMerge pull request #1204 from Howaner/Blocks (diff)
downloadcuberite-7a9f9ab744e88267299b347ac6c9171acfe3afaa.tar
cuberite-7a9f9ab744e88267299b347ac6c9171acfe3afaa.tar.gz
cuberite-7a9f9ab744e88267299b347ac6c9171acfe3afaa.tar.bz2
cuberite-7a9f9ab744e88267299b347ac6c9171acfe3afaa.tar.lz
cuberite-7a9f9ab744e88267299b347ac6c9171acfe3afaa.tar.xz
cuberite-7a9f9ab744e88267299b347ac6c9171acfe3afaa.tar.zst
cuberite-7a9f9ab744e88267299b347ac6c9171acfe3afaa.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockSapling.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockSapling.h b/src/Blocks/BlockSapling.h
index 3d925029a..3f443b734 100644
--- a/src/Blocks/BlockSapling.h
+++ b/src/Blocks/BlockSapling.h
@@ -21,7 +21,7 @@ public:
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
// Only the first 2 bits contain the display information, the others are for growing
- a_Pickups.push_back(cItem(E_BLOCK_SAPLING, 1, a_BlockMeta & 3));
+ a_Pickups.push_back(cItem(E_BLOCK_SAPLING, 1, a_BlockMeta & 0x7));
}