Skip to content

Commit

Permalink
Fixing Something?
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaoscaot committed Apr 4, 2023
1 parent 80eeaad commit e7c1fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemsearch-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub fn search(

let air_id = if search_behavior.ignore_air || search_behavior.air_as_any { pattern_schem.palette.get("minecraft:air").unwrap_or(&-1) } else { &-1};

let pattern_blocks = (pattern_schem.width * pattern_schem.height * pattern_schem.length) as f32;
let pattern_blocks = pattern_data.len() as f32;

let pattern_width = pattern_schem.width as usize;
let pattern_height = pattern_schem.height as usize;
Expand Down

0 comments on commit e7c1fd1

Please sign in to comment.