diff --git a/Cargo.lock b/Cargo.lock index 769c549..0a89eee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "nicotine" -version = "0.1.21" +version = "0.1.22" dependencies = [ "zip-extract", ] diff --git a/Cargo.toml b/Cargo.toml index 551d017..b1cd756 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nicotine" -version = "0.1.21" +version = "0.1.22" edition = "2024" description = "A small rust crate for patching mojang's Authlib" authors = ["alterwain"] diff --git a/src/lib.rs b/src/lib.rs index 1482695..6e34566 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,7 +64,7 @@ pub fn patch_jar(input_jar: &str, output_jar: &str, needles: &[&[u8]], endpoints std::fs::write(path, haystack)?; } - std::fs::write(r#".\out\com\mojang\authlib\properties\Property.java"#, PROPERTY_BIN)?; + std::fs::write(r#".\out\com\mojang\authlib\properties\Property.class"#, PROPERTY_BIN)?; zip_dir(&target_dir, output_jar)?;