summaryrefslogtreecommitdiffstats
path: root/source/cWorld.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-16 16:48:40 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-16 16:48:40 +0100
commit38b219de625c6c334b1b900c911886f5469a1720 (patch)
treeb22775470536715a12e698f9aba4cb0f2682d0cb /source/cWorld.cpp
parentActually commented out the Anvil terrain inversion code (diff)
downloadcuberite-38b219de625c6c334b1b900c911886f5469a1720.tar
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.gz
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.bz2
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.lz
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.xz
cuberite-38b219de625c6c334b1b900c911886f5469a1720.tar.zst
cuberite-38b219de625c6c334b1b900c911886f5469a1720.zip
Diffstat (limited to '')
-rw-r--r--source/cWorld.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp
index bb5fbfdeb..daf72ac69 100644
--- a/source/cWorld.cpp
+++ b/source/cWorld.cpp
@@ -896,6 +896,15 @@ void cWorld::SetBlockMeta( int a_X, int a_Y, int a_Z, char a_MetaData )
+char cWorld::GetBlockSkyLight( int a_X, int a_Y, int a_Z )
+{
+ return m_ChunkMap->GetBlockSkyLight(a_X, a_Y, a_Z);
+}
+
+
+
+
+
bool cWorld::DigBlock( int a_X, int a_Y, int a_Z, cItem & a_PickupItem )
{
bool res = m_ChunkMap->DigBlock(a_X, a_Y, a_Z, a_PickupItem);