Influence of a magnetic field on laser-produced Sn plasma