summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-13 01:06:47 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-13 01:06:47 +0100
commit3757054d81b50bc1c625e7331b11cfc3e5b02bbb (patch)
tree0d8779cf17ee282a7ac65bd85830355fb871d2ed /src/Chunk.cpp
parentRedstone data is now loaded on chunk load (diff)
downloadcuberite-3757054d81b50bc1c625e7331b11cfc3e5b02bbb.tar
cuberite-3757054d81b50bc1c625e7331b11cfc3e5b02bbb.tar.gz
cuberite-3757054d81b50bc1c625e7331b11cfc3e5b02bbb.tar.bz2
cuberite-3757054d81b50bc1c625e7331b11cfc3e5b02bbb.tar.lz
cuberite-3757054d81b50bc1c625e7331b11cfc3e5b02bbb.tar.xz
cuberite-3757054d81b50bc1c625e7331b11cfc3e5b02bbb.tar.zst
cuberite-3757054d81b50bc1c625e7331b11cfc3e5b02bbb.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 190521c0f..192c1242c 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -706,8 +706,7 @@ void cChunk::ProcessQueuedSetBlocks(void)
{
// Current world age is bigger than/equal to target world age - delay time reached AND
// Previous block type was the same as current block type (to prevent duplication)
- // Since blocktypes were the same, we just need to set the meta
- SetMeta(itr->m_RelX, itr->m_RelY, itr->m_RelZ, itr->m_BlockMeta);
+ SetBlock(itr->m_RelX, itr->m_RelY, itr->m_RelZ, itr->m_BlockType, itr->m_BlockMeta); // SetMeta doesn't send to client
itr = m_SetBlockQueue.erase(itr);
LOGD("Successfully set queued block - previous and current types matched");
}