Improved furnaces

* Fixed progress bar on 1.8
* Fixed bugs
* Improved code
* Fixes #1068
* Fixes #1070
Just realised that this is wrong a I should have checked the world block type for a furnace or lit furnace if its block entity type was a furnace.

On 5 Oct 2014, at 15:52, "Mattes D" <notifications@github.com> wrote:

> In 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));
> Won't work for a furnace block with a (wrong) chest entity attached to it. I was thinking more about cBlockEntity::CanBeAtBlock(BLOCKTYPE) -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> —
> Reply to this email directly or view it on GitHub.