Skip to content

Commit

Permalink
fix for clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Jan 10, 2025
1 parent 5364d4f commit ce43b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azalea-core/src/registry_holder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ pub struct DimensionTypeElement {
pub struct DimensionTypeElement {
pub height: u32,
pub min_y: i32,
pub ultrawarm: u8,
pub ultrawarm: bool,
#[simdnbt(flatten)]
pub _extra: HashMap<String, NbtTag>,
}
Expand Down
2 changes: 1 addition & 1 deletion azalea-physics/src/fluids.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn update_in_water_state_and_do_fluid_pushing(
.registries
.dimension_type()
.and_then(|d| d.map.get(instance_name).map(|d| d.ultrawarm))
== Some(1);
== Some(true);
let lava_push_factor = if is_ultrawarm {
0.007
} else {
Expand Down

0 comments on commit ce43b84

Please sign in to comment.