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
This commit is contained in:
parent
403c99f8fa
commit
3d031490be
@ -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
|
// Check if there's soil under the neighbor. We already know the neighbors are valid. Place produce if ok
|
||||||
BLOCKTYPE Soil;
|
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)
|
switch (Soil)
|
||||||
{
|
{
|
||||||
case E_BLOCK_DIRT:
|
case E_BLOCK_DIRT:
|
||||||
|
Loading…
Reference in New Issue
Block a user