diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-22 22:09:37 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-22 22:09:37 +0200 |
commit | bc5db3274fe101afcd9081857bd9b66c12e19906 (patch) | |
tree | 4bc6be66032df48c16fc966dda40d3a750fd6c6f /src | |
parent | Export BroadcastEntityAnimation with ToLua (diff) | |
download | cuberite-bc5db3274fe101afcd9081857bd9b66c12e19906.tar cuberite-bc5db3274fe101afcd9081857bd9b66c12e19906.tar.gz cuberite-bc5db3274fe101afcd9081857bd9b66c12e19906.tar.bz2 cuberite-bc5db3274fe101afcd9081857bd9b66c12e19906.tar.lz cuberite-bc5db3274fe101afcd9081857bd9b66c12e19906.tar.xz cuberite-bc5db3274fe101afcd9081857bd9b66c12e19906.tar.zst cuberite-bc5db3274fe101afcd9081857bd9b66c12e19906.zip |
Diffstat (limited to 'src')
-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 e965809a3..de28273d5 100644 --- a/src/Blocks/BlockSapling.h +++ b/src/Blocks/BlockSapling.h @@ -20,7 +20,7 @@ public: virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override { - // Only the first 5 bits contain the display information, 8th bit for growth indicator (but we use 0x07 for forward compatibility) + // Only the first 2 bits contain the display information and the 4th bit is for the growth indicator, but, we use 0x07 for forward compatibility a_Pickups.push_back(cItem(E_BLOCK_SAPLING, 1, a_BlockMeta & 0x07)); } |