summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cChunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp
index 217169c67..67ae02ecf 100644
--- a/source/cChunk.cpp
+++ b/source/cChunk.cpp
@@ -686,7 +686,7 @@ void cChunk::TickMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, int a_BlockIdx
// Check if there's soil under the neighbor. We already know the neighbors are valid. Place produce if ok
BLOCKTYPE Soil;
- UnboundedRelGetBlock(a_RelX + x, a_RelY, a_RelZ + z, Soil, BlockMeta);
+ UnboundedRelGetBlock(a_RelX + x, a_RelY - 1, a_RelZ + z, Soil, BlockMeta);
switch (Soil)
{
case E_BLOCK_DIRT: