public void Save() { if (IsSaving) { return; } PropertiesWriter.Serialize(serverConfig); IsSaving = true; worldPersistence.Save(world, serverConfig.SaveName); IsSaving = false; }