Added check to ignore blocks without textures