mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
change ultrawarm to be required
This commit is contained in:
parent
9e728dc943
commit
5364d4fad4
2 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ pub struct DimensionTypeElement {
|
|||
pub struct DimensionTypeElement {
|
||||
pub height: u32,
|
||||
pub min_y: i32,
|
||||
pub ultrawarm: Option<u8>,
|
||||
pub ultrawarm: u8,
|
||||
#[simdnbt(flatten)]
|
||||
pub _extra: HashMap<String, NbtTag>,
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ pub fn update_in_water_state_and_do_fluid_pushing(
|
|||
let is_ultrawarm = world
|
||||
.registries
|
||||
.dimension_type()
|
||||
.and_then(|d| d.map.get(instance_name).and_then(|d| d.ultrawarm))
|
||||
.and_then(|d| d.map.get(instance_name).map(|d| d.ultrawarm))
|
||||
== Some(1);
|
||||
let lava_push_factor = if is_ultrawarm {
|
||||
0.007
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue