Fix for ClassCastException when attempting to fetch Biome types from BiomeDictionary

Attempting to fetch the BiomeDictionary types linked to a biome throws a ClassCastException. This fixes that