public MutatedWorldData(World world, List <WorldTrait> traits) { this.world = SerializingCloner.Copy(world); if (traits == null) { this.traits = new List <WorldTrait>(); } else { this.traits = new List <WorldTrait>(traits); } SettingsCache.CloneInToNewWorld(this); ApplyTraits(); foreach (ElementBandConfiguration value in biomes.BiomeBackgroundElementBandConfigurations.Values) { value.ConvertBandSizeToMaxSize(); } }