From 3757054d81b50bc1c625e7331b11cfc3e5b02bbb Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Fri, 13 Dec 2013 00:06:47 +0000 Subject: Fixed QueueSetBlock not sending to client changes --- src/Chunk.cpp | 3 +-- 1 file changed, 1 insertion(+), 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"); } -- cgit v1.2.3