# Pastebin ZxSL1pg5 final def findFreeBiomeID: Int = { val biomes = BiomeGenBase.getBiomeGenArray biomes.indices.find(biomes(_) == null).getOrElse(throw new Exception( "Error: A free biome ID was requested, but there is no room in the BiomeGenBase array! Eeeeek!")) }