1
0
Dieser Commit ist enthalten in:
Chaoscaot 2023-03-11 15:40:00 +01:00
Ursprung 734a0a67b1
Commit 3792be48a3

Datei anzeigen

@ -17,6 +17,7 @@
mod types;
use std::fmt::Debug;
use std::fs::File;
use std::io;
use std::io::{BufWriter, Write};
@ -158,6 +159,8 @@ fn main() {
return;
}
let start = std::time::Instant::now();
let search_behavior = SearchBehavior {
ignore_block_data: matches.get_flag("ignore-data"),
ignore_block_entities: matches.get_flag("ignore-block-entities"),
@ -312,6 +315,9 @@ fn main() {
}
}
}
let end = std::time::Instant::now();
println!("Finished in {:.2}s! Searched in {} Schematics", end.duration_since(start).as_secs_f32(), schematics.len());
}
fn load_schem(schem_path: &PathBuf) -> Option<Schematic> {