Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
leobeg committed Nov 21, 2024
1 parent 01d8e48 commit 6b2de48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumpkin/src/world/custom_bossbar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl CustomBossbars {
}

let ratio = f64::from(value) / f64::from(max_value);
let mut health: f32 = 0.0;
let health: f32;

if ratio >= 1.0 {
health = 1.0;
Expand Down

0 comments on commit 6b2de48

Please sign in to comment.