diff options
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;
}
|