summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
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)
{