diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-07-17 21:40:14 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-07-17 21:40:14 +0200 |
commit | 4fd9ac60e010773197eb2a1f753f8bf5e0a77d31 (patch) | |
tree | e7a0dcc4f137c43afab396303fb19e667000c50e /src/Blocks/BlockSapling.h | |
parent | Fixed mob knockback (diff) | |
parent | Fix sapling drop. (diff) | |
download | cuberite-4fd9ac60e010773197eb2a1f753f8bf5e0a77d31.tar cuberite-4fd9ac60e010773197eb2a1f753f8bf5e0a77d31.tar.gz cuberite-4fd9ac60e010773197eb2a1f753f8bf5e0a77d31.tar.bz2 cuberite-4fd9ac60e010773197eb2a1f753f8bf5e0a77d31.tar.lz cuberite-4fd9ac60e010773197eb2a1f753f8bf5e0a77d31.tar.xz cuberite-4fd9ac60e010773197eb2a1f753f8bf5e0a77d31.tar.zst cuberite-4fd9ac60e010773197eb2a1f753f8bf5e0a77d31.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)); } |