summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-03 18:43:37 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-03 18:43:37 +0200
commitef170348aa24f569bfabf72fd0a715904b235fd1 (patch)
tree075ca7de37958091bc635e018bf75187399dbafd
parentfor some reason TortoiseSVN didn't commit listgroups.lua (diff)
downloadcuberite-ef170348aa24f569bfabf72fd0a715904b235fd1.tar
cuberite-ef170348aa24f569bfabf72fd0a715904b235fd1.tar.gz
cuberite-ef170348aa24f569bfabf72fd0a715904b235fd1.tar.bz2
cuberite-ef170348aa24f569bfabf72fd0a715904b235fd1.tar.lz
cuberite-ef170348aa24f569bfabf72fd0a715904b235fd1.tar.xz
cuberite-ef170348aa24f569bfabf72fd0a715904b235fd1.tar.zst
cuberite-ef170348aa24f569bfabf72fd0a715904b235fd1.zip
Diffstat (limited to '')
-rw-r--r--source/Chunk.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp
index ad534f634..9856e67b3 100644
--- a/source/Chunk.cpp
+++ b/source/Chunk.cpp
@@ -715,6 +715,11 @@ void cChunk::GrowMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_Bl
case E_BLOCK_GRASS:
case E_BLOCK_FARMLAND:
{
+ // DEBUG: This is here to catch FS #349 - melons growing over other crops.
+ LOG("Growing melon/pumpkin overwriting %s, growing on %s",
+ ItemTypeToString(BlockType[CheckType]).c_str(),
+ ItemTypeToString(Soil).c_str()
+ );
// Place a randomly-facing produce:
UnboundedRelFastSetBlock(a_RelX + x, a_RelY, a_RelZ + z, ProduceType, (NIBBLETYPE)(a_TickRandom.randInt(4) % 4));
break;