diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 22:23:08 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 22:23:08 +0200 |
commit | 7a9f9ab744e88267299b347ac6c9171acfe3afaa (patch) | |
tree | 7cc853f2e143ec42948e5b44f207d286cc9db039 /src/Blocks/BlockSapling.h | |
parent | Initial version of a script to check basic style. (diff) | |
parent | Merge pull request #1204 from Howaner/Blocks (diff) | |
download | cuberite-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/BlockSapling.h')
-rw-r--r-- | src/Blocks/BlockSapling.h | 2 |
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)); } |