summaryrefslogtreecommitdiffstats
path: root/source/ChunkMap.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 16:06:31 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 16:06:31 +0100
commit934d3fe56549a3dce33bc565d27970dc29b88404 (patch)
tree67d872e1a096f88d1e97e733f6068eca2d2253bb /source/ChunkMap.cpp
parentSettings.ini is read only once on server start (diff)
downloadcuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.gz
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.bz2
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.lz
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.xz
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.tar.zst
cuberite-934d3fe56549a3dce33bc565d27970dc29b88404.zip
Diffstat (limited to 'source/ChunkMap.cpp')
-rw-r--r--source/ChunkMap.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/ChunkMap.cpp b/source/ChunkMap.cpp
index bad47b066..9c93f3e08 100644
--- a/source/ChunkMap.cpp
+++ b/source/ChunkMap.cpp
@@ -720,22 +720,6 @@ bool cChunkMap::GetChunkBlockTypes(int a_ChunkX, int a_ChunkY, int a_ChunkZ, BLO
-bool cChunkMap::GetChunkBlockData(int a_ChunkX, int a_ChunkY, int a_ChunkZ, BLOCKTYPE * a_BlockData)
-{
- cCSLock Lock(m_CSLayers);
- cChunkPtr Chunk = GetChunkNoGen(a_ChunkX, a_ChunkY, a_ChunkZ);
- if ((Chunk == NULL) || !Chunk->IsValid())
- {
- return false;
- }
- Chunk->GetBlockData(a_BlockData);
- return true;
-}
-
-
-
-
-
bool cChunkMap::IsChunkValid(int a_ChunkX, int a_ChunkY, int a_ChunkZ)
{
cCSLock Lock(m_CSLayers);