From 57b1932b5eb64a53f4947bcd8b97fef985e05b2a Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:19:24 -0400 Subject: [PATCH] Fix minecraft meta links (#12) * Fix minecraft meta links * remove debug * bump v * no mut --- daedalus/Cargo.toml | 2 +- daedalus_client/Cargo.toml | 2 +- daedalus_client/src/minecraft.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daedalus/Cargo.toml b/daedalus/Cargo.toml index 75262c279..6aff4dd4d 100644 --- a/daedalus/Cargo.toml +++ b/daedalus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daedalus" -version = "0.1.25" +version = "0.1.26" authors = ["Jai A "] edition = "2018" license = "MIT" diff --git a/daedalus_client/Cargo.toml b/daedalus_client/Cargo.toml index 8cd0fd2fd..87b3d4171 100644 --- a/daedalus_client/Cargo.toml +++ b/daedalus_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daedalus_client" -version = "0.1.25" +version = "0.1.26" authors = ["Jai A "] edition = "2018" diff --git a/daedalus_client/src/minecraft.rs b/daedalus_client/src/minecraft.rs index 6badc9c4a..e284c27c0 100644 --- a/daedalus_client/src/minecraft.rs +++ b/daedalus_client/src/minecraft.rs @@ -25,7 +25,7 @@ pub async fn retrieve_data( let mut manifest = daedalus::minecraft::fetch_version_manifest(None).await?; - let cloned_manifest = Arc::new(Mutex::new(manifest.clone())); + let cloned_manifest = Arc::new(Mutex::new(old_manifest.clone().unwrap_or(manifest.clone()))); let patches = fetch_library_patches()?; let cloned_patches = Arc::new(&patches);