summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockSapling.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-17 21:35:34 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-17 21:35:34 +0200
commit68cc9c6f91bbbadedf3641099e0aa17352e4dde8 (patch)
treee7a0dcc4f137c43afab396303fb19e667000c50e /src/Blocks/BlockSapling.h
parentFixed mob knockback (diff)
downloadcuberite-68cc9c6f91bbbadedf3641099e0aa17352e4dde8.tar
cuberite-68cc9c6f91bbbadedf3641099e0aa17352e4dde8.tar.gz
cuberite-68cc9c6f91bbbadedf3641099e0aa17352e4dde8.tar.bz2
cuberite-68cc9c6f91bbbadedf3641099e0aa17352e4dde8.tar.lz
cuberite-68cc9c6f91bbbadedf3641099e0aa17352e4dde8.tar.xz
cuberite-68cc9c6f91bbbadedf3641099e0aa17352e4dde8.tar.zst
cuberite-68cc9c6f91bbbadedf3641099e0aa17352e4dde8.zip
Diffstat (limited to '')
-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));
}