Fixed second byte in the chunk sending.

This can't be right, BlockType has a range of at least 8 bits, and you're shifting it left 4 bits (-> 12 bits) and stuffing it into a char (8 bits again) - you're losing at least 4 top bits.