From 31b5c29ca29cacf41680757dc9733526139c78db Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 9 Mar 2023 19:12:08 +0100 Subject: [PATCH] Fixes --- schemsearch-lib/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemsearch-lib/src/lib.rs b/schemsearch-lib/src/lib.rs index 5d14c59..763ef8a 100644 --- a/schemsearch-lib/src/lib.rs +++ b/schemsearch-lib/src/lib.rs @@ -78,7 +78,7 @@ pub fn search( } } 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)); } }