1
0

Update IncrementalRedstoneSimulator.inc

This commit is contained in:
worktycho 2014-09-27 15:19:32 +01:00
parent 20101fab99
commit 88a07bd184

View File

@ -557,7 +557,7 @@ void cIncrementalRedstoneSimulator<ChunkType, WorldType, GetHandlerCompileTime,
if (m_RedstoneSimulatorChunkData == NULL)
{
m_RedstoneSimulatorChunkData = new cIncrementalRedstoneSimulator<ChunkType, WorldType, GetHandlerCompileTime, ChestType>::cIncrementalRedstoneSimulatorChunkData();
a_Chunk->SetRedstoneData(m_RedstoneSimulatorChunkData);
a_Chunk->SetRedstoneSimulatorData(m_RedstoneSimulatorChunkData);
}
if (m_RedstoneSimulatorChunkData->m_ChunkData.empty() && ((cIncrementalRedstoneSimulator<ChunkType, WorldType, GetHandlerCompileTime, ChestType>::cIncrementalRedstoneSimulatorChunkData *)a_Chunk->GetRedstoneSimulatorData())->m_QueuedChunkData.empty())
{