diff options
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index c3139ed9c..16e8fa267 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -748,7 +748,7 @@ bool cChunkMap::GetBlocks(sSetBlockVector & a_Blocks, bool a_ContinueOnFailure) res = false; continue; } - if (!cChunkDef::IsValidHeight(itr->m_RelY)) + if (!cChunkDef::IsValidHeight(itr->GetRelativePos())) { continue; } |