This commit is contained in:
Vincent Lee committed 2016-03-11 13:14:42 -06:00
1 parent 95f8cc529f
commit 3534a6cc5f
1 file changed
+1 -1
@@ -65,7 +65,7 @@ public class TileBellows extends TileMod {
furnace.setField(0, Math.max(0, furnace.getField(0) - 10)); // burnTime
}
if(furnace.getBlockType() == Blocks.lit_furnace) {
if(furnace.hasWorldObj() && furnace.getBlockType() == Blocks.lit_furnace) {
// Copypasta from BlockFurnace
EnumFacing enumfacing = worldObj.getBlockState(furnace.getPos()).getValue(BlockFurnace.FACING);
double d0 = (double)pos.getX() + 0.5D;