Block texture fixes.

Fixed block texture code for minecraft 1.5.1.