Skip to content

Commit

Permalink
Fix single materilabin output being empty
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbegamerxx954 committed Aug 3, 2024
1 parent ff9a203 commit a515cec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ fn main() -> anyhow::Result<()> {
let mut output_file = file_to_shrodinger(&mut tmp_file, opts.yeet)?;
println!("Processing input {}", style(opts.file).cyan());
file_update(&mut input_file, &mut output_file, mcversion)?;
tmp_file.rewind()?;
if !opts.yeet {
let mut output_file = File::create(output_filename)?;
io::copy(&mut tmp_file, &mut output_file)?;
Expand Down

0 comments on commit a515cec

Please sign in to comment.