summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-22 22:09:37 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-22 22:09:37 +0200
commitbc5db3274fe101afcd9081857bd9b66c12e19906 (patch)
tree4bc6be66032df48c16fc966dda40d3a750fd6c6f
parentExport BroadcastEntityAnimation with ToLua (diff)
downloadcuberite-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
-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 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));
}