Fixed a null pointer exception.

Fixed a null pointer exception that was crashing custom biomes under
forge.