summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-29 18:25:08 +0200
committermadmaxoft <github@xoft.cz>2014-05-29 18:25:08 +0200
commitf7777e8c7559964f126a64af7673276e356dcedc (patch)
treefdd7bd8301051bb8e466e31ef4f3b35308d7b334 /src/Chunk.cpp
parentAdd comment (diff)
downloadcuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.gz
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.bz2
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.lz
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.xz
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.zst
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index e5f8f1e29..23412a4c3 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -282,8 +282,8 @@ void cChunk::SetAllData(
CalculateHeightmap(a_BlockTypes);
}
- m_ChunkData.SetBlocks(a_BlockTypes);
- m_ChunkData.SetMeta(a_BlockMeta);
+ m_ChunkData.SetBlockTypes(a_BlockTypes);
+ m_ChunkData.SetMetas(a_BlockMeta);
m_ChunkData.SetBlockLight(a_BlockLight);
m_ChunkData.SetSkyLight(a_BlockSkyLight);
@@ -339,7 +339,7 @@ void cChunk::SetLight(
void cChunk::GetBlockTypes(BLOCKTYPE * a_BlockTypes)
{
- m_ChunkData.CopyBlocks(a_BlockTypes);
+ m_ChunkData.CopyBlockTypes(a_BlockTypes);
}