From 3d031490bef8989e5ace6f92384cbe6f2d5374f0 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 30 May 2012 20:31:31 +0000 Subject: Melon and pumpkin stems now grow melons and pumpkins git-svn-id: http://mc-server.googlecode.com/svn/trunk@526 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3