Fix for BiomeDictionary.getTypesForBiome throwing a ClassCastException when called.

Attempting to fetch the BiomeDictionary types linked to a specific biome with BiomeDictionary.getTypesForBiome throws a ClassCastException.