diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-16 16:52:26 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-16 16:52:26 +0100 |
commit | 445d31acc99d1e50ceac0b5f343b5819dc362685 (patch) | |
tree | 91a4390aa3a2aa481a1ca9e941210caf543f573d /source/cChunkMap.cpp | |
parent | Exposed a function to Lua to get a block's sky light value (diff) | |
download | cuberite-445d31acc99d1e50ceac0b5f343b5819dc362685.tar cuberite-445d31acc99d1e50ceac0b5f343b5819dc362685.tar.gz cuberite-445d31acc99d1e50ceac0b5f343b5819dc362685.tar.bz2 cuberite-445d31acc99d1e50ceac0b5f343b5819dc362685.tar.lz cuberite-445d31acc99d1e50ceac0b5f343b5819dc362685.tar.xz cuberite-445d31acc99d1e50ceac0b5f343b5819dc362685.tar.zst cuberite-445d31acc99d1e50ceac0b5f343b5819dc362685.zip |
Diffstat (limited to 'source/cChunkMap.cpp')
-rw-r--r-- | source/cChunkMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp index c36f2610f..33441a406 100644 --- a/source/cChunkMap.cpp +++ b/source/cChunkMap.cpp @@ -566,7 +566,7 @@ BLOCKTYPE cChunkMap::GetBlockSkyLight(int a_X, int a_Y, int a_Z) cChunkPtr Chunk = GetChunk( ChunkX, ZERO_CHUNK_Y, ChunkZ );
if ((Chunk != NULL) && Chunk->IsValid() )
{
- return cChunk::GetNibble( Chunk->pGetSkyLight(), a_X, a_Y, a_Z );
+ return Chunk->GetSkyLight( a_X, a_Y, a_Z );
}
return 0;
}
|