summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-03 20:26:50 +0200
committermadmaxoft <github@xoft.cz>2013-08-03 20:26:50 +0200
commit4f26f11dc77ab032feec8c746fc6ddaa1ea44057 (patch)
tree19a62e06c11061af47273e8c9d159f38f5f2cc58 /source/World.cpp
parentRemoved the unused BlockY parameter from cChunkDef::BlockToChunk() (diff)
downloadcuberite-4f26f11dc77ab032feec8c746fc6ddaa1ea44057.tar
cuberite-4f26f11dc77ab032feec8c746fc6ddaa1ea44057.tar.gz
cuberite-4f26f11dc77ab032feec8c746fc6ddaa1ea44057.tar.bz2
cuberite-4f26f11dc77ab032feec8c746fc6ddaa1ea44057.tar.lz
cuberite-4f26f11dc77ab032feec8c746fc6ddaa1ea44057.tar.xz
cuberite-4f26f11dc77ab032feec8c746fc6ddaa1ea44057.tar.zst
cuberite-4f26f11dc77ab032feec8c746fc6ddaa1ea44057.zip
Diffstat (limited to 'source/World.cpp')
-rw-r--r--source/World.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 880f6e5b2..03e086148 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -832,6 +832,15 @@ bool cWorld::GetSignLines(int a_BlockX, int a_BlockY, int a_BlockZ, AString & a_
+bool cWorld::DoWithChunk(int a_ChunkX, int a_ChunkZ, cChunkCallback & a_Callback)
+{
+ return m_ChunkMap->DoWithChunk(a_ChunkX, a_ChunkZ, a_Callback);
+}
+
+
+
+
+
void cWorld::GrowTree(int a_X, int a_Y, int a_Z)
{
if (GetBlock(a_X, a_Y, a_Z) == E_BLOCK_SAPLING)