summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-12-14 13:14:48 +0100
committerHowaner <franzi.moos@googlemail.com>2014-12-14 13:14:48 +0100
commitbed456033f9856ad110368a4eb9c8317c4378acb (patch)
tree0a25c42398a9ee675956933289aacc7779029584 /src/World.cpp
parentFixes (diff)
downloadcuberite-bed456033f9856ad110368a4eb9c8317c4378acb.tar
cuberite-bed456033f9856ad110368a4eb9c8317c4378acb.tar.gz
cuberite-bed456033f9856ad110368a4eb9c8317c4378acb.tar.bz2
cuberite-bed456033f9856ad110368a4eb9c8317c4378acb.tar.lz
cuberite-bed456033f9856ad110368a4eb9c8317c4378acb.tar.xz
cuberite-bed456033f9856ad110368a4eb9c8317c4378acb.tar.zst
cuberite-bed456033f9856ad110368a4eb9c8317c4378acb.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index fc4a1fdfd..d3bde3559 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1524,7 +1524,7 @@ bool cWorld::GrowRipePlant(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_IsBy
case E_BLOCK_COCOA_POD:
{
NIBBLETYPE TypeMeta = BlockMeta & 0x03;
- int GrowState = (BlockMeta & 0x0f) >> 2;
+ int GrowState = BlockMeta >> 2;
if (GrowState < 2)
{