summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-30 22:31:31 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-30 22:31:31 +0200
commit3d031490bef8989e5ace6f92384cbe6f2d5374f0 (patch)
tree31237b48a64af3a81320347cb5ecbe610d2aea4d /source
parentFixed blocktick distribution (diff)
downloadcuberite-3d031490bef8989e5ace6f92384cbe6f2d5374f0.tar
cuberite-3d031490bef8989e5ace6f92384cbe6f2d5374f0.tar.gz
cuberite-3d031490bef8989e5ace6f92384cbe6f2d5374f0.tar.bz2
cuberite-3d031490bef8989e5ace6f92384cbe6f2d5374f0.tar.lz
cuberite-3d031490bef8989e5ace6f92384cbe6f2d5374f0.tar.xz
cuberite-3d031490bef8989e5ace6f92384cbe6f2d5374f0.tar.zst
cuberite-3d031490bef8989e5ace6f92384cbe6f2d5374f0.zip
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: