Fixed an incorrect type conversion casuing negative block-IDs.

Fixed new blocks in Minecraft 1.7 to render correctly.