Revert "Updated Texture Code For 1.6.4"

This reverts commit cb85a94c96c3819223787b2d6ce5064a496f357b.