1
0
Dieser Commit ist enthalten in:
Chaoscaot 2023-03-09 19:12:08 +01:00
Ursprung e11088755d
Commit 31b5c29ca2

Datei anzeigen

@ -78,7 +78,7 @@ pub fn search(
} }
} }
let matching_percent = matching as f64 / pattern_blocks; let matching_percent = matching as f64 / pattern_blocks;
if matching_percent > search_behavior.threshold { if matching_percent >= search_behavior.threshold {
matches.push((x as u16, y as u16, z as u16, matching_percent)); matches.push((x as u16, y as u16, z as u16, matching_percent));
} }
} }