Fixed QueueSetBlock not sending to client changes
This commit is contained in:
parent
6b6905fe1c
commit
3757054d81
@ -706,8 +706,7 @@ void cChunk::ProcessQueuedSetBlocks(void)
|
|||||||
{
|
{
|
||||||
// Current world age is bigger than/equal to target world age - delay time reached AND
|
// 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)
|
// 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
|
SetBlock(itr->m_RelX, itr->m_RelY, itr->m_RelZ, itr->m_BlockType, itr->m_BlockMeta); // SetMeta doesn't send to client
|
||||||
SetMeta(itr->m_RelX, itr->m_RelY, itr->m_RelZ, itr->m_BlockMeta);
|
|
||||||
itr = m_SetBlockQueue.erase(itr);
|
itr = m_SetBlockQueue.erase(itr);
|
||||||
LOGD("Successfully set queued block - previous and current types matched");
|
LOGD("Successfully set queued block - previous and current types matched");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user