diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-09 15:00:14 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-09 15:00:14 +0200 |
commit | 8189487258df0490583b52322e357d7f7dfcb0e9 (patch) | |
tree | 3e5bf73b613da7a8a98b447982982f5573e1bd46 /source/cWorld.cpp | |
parent | Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC. (diff) | |
download | cuberite-8189487258df0490583b52322e357d7f7dfcb0e9.tar cuberite-8189487258df0490583b52322e357d7f7dfcb0e9.tar.gz cuberite-8189487258df0490583b52322e357d7f7dfcb0e9.tar.bz2 cuberite-8189487258df0490583b52322e357d7f7dfcb0e9.tar.lz cuberite-8189487258df0490583b52322e357d7f7dfcb0e9.tar.xz cuberite-8189487258df0490583b52322e357d7f7dfcb0e9.tar.zst cuberite-8189487258df0490583b52322e357d7f7dfcb0e9.zip |
Diffstat (limited to 'source/cWorld.cpp')
-rw-r--r-- | source/cWorld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index 664a25bdd..1cac3633b 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -973,7 +973,7 @@ bool cWorld::GrowPlant(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_IsByBone {
return false;
}
- m_ChunkMap->GrowSugarcane(a_BlockX, a_BlockY, a_BlockZ, 3);
+ m_ChunkMap->GrowSugarcane(a_BlockX, a_BlockY, a_BlockZ, m_MaxSugarcaneHeight);
return true;
}
@@ -983,7 +983,7 @@ bool cWorld::GrowPlant(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_IsByBone {
return false;
}
- m_ChunkMap->GrowCactus(a_BlockX, a_BlockY, a_BlockZ, 3);
+ m_ChunkMap->GrowCactus(a_BlockX, a_BlockY, a_BlockZ, m_MaxCactusHeight);
return true;
}
} // switch (BlockType)
|