Update TextureHandler.java

Fix a NPE with certain blocks.