summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-03 22:32:41 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-03 22:32:41 +0200
commitb5a2c6667ac0845d17a709cc436afb570079a9a7 (patch)
treec9c94d48d811534e0e89d30ba88fb446a5681487 /src/Chunk.cpp
parentFix spelling of PRISMRAINE (diff)
downloadcuberite-b5a2c6667ac0845d17a709cc436afb570079a9a7.tar
cuberite-b5a2c6667ac0845d17a709cc436afb570079a9a7.tar.gz
cuberite-b5a2c6667ac0845d17a709cc436afb570079a9a7.tar.bz2
cuberite-b5a2c6667ac0845d17a709cc436afb570079a9a7.tar.lz
cuberite-b5a2c6667ac0845d17a709cc436afb570079a9a7.tar.xz
cuberite-b5a2c6667ac0845d17a709cc436afb570079a9a7.tar.zst
cuberite-b5a2c6667ac0845d17a709cc436afb570079a9a7.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 96b8eda4e..88ee9ba31 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -333,7 +333,7 @@ void cChunk::SetAllData(cSetChunkData & a_SetChunkData)
{
BLOCKTYPE EntityBlockType = (*itr)->GetBlockType();
BLOCKTYPE WorldBlockType = GetBlock((*itr)->GetRelX(), (*itr)->GetPosY(), (*itr)->GetRelZ());
- ASSERT(EntityBlockType == WorldBlockType);
+ ASSERT((EntityBlockType == E_BLOCK_FURNACE) ? ((EntityBlockType == E_BLOCK_FURNACE) || (EntityBlockType == E_BLOCK_LIT_FURNACE)) : (WorldBlockType == EntityBlockType));
} // for itr - m_BlockEntities
#endif // _DEBUG