Fixed the item and block textures

Code for the item textures is also fixed, but not for the blocks.

Hopefully this helps :)