public void CopyENV(World otherWorld) { Map = map; FogColor = otherWorld.FogColor; CloudColor = otherWorld.CloudColor; SkyColor = otherWorld.SkyColor; EdgeLevel = otherWorld.EdgeLevel; SidesOffset = otherWorld.SidesOffset; CloudsHeight = otherWorld.CloudsHeight; MaxFogDistance = otherWorld.MaxFogDistance; EdgeBlock = otherWorld.EdgeBlock; HorizonBlock = otherWorld.HorizonBlock; LightColor = otherWorld.LightColor; ShadowColor = otherWorld.ShadowColor; Weather = otherWorld.Weather; Texture = otherWorld.Texture; CloudsSpeed = otherWorld.CloudsSpeed; WeatherSpeed = otherWorld.WeatherSpeed; WeatherFade = otherWorld.WeatherFade; SkyboxHorSpeed = otherWorld.SkyboxHorSpeed; SkyboxVerSpeed = otherWorld.SkyboxVerSpeed; foreach (Player p in Players) { BlockDefinition.SendNowRemoveOldBlocks(p, this); } BlockDefs = otherWorld.BlockDefs; if (BlockDefs != BlockDefinition.GlobalDefs) { BlockDefinition.Save(false, this); } foreach (Player p in Players) { BlockDefinition.SendNowBlocks(p); } WorldManager.SaveWorldList(); }