aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-01-21 23:53:11 +0000
committermat <git@matdoes.dev>2025-01-21 23:53:11 +0000
commit53fca5faf4878c7afcd65f1eb0811c2b8e02a214 (patch)
tree9784b9f5f66f330230e774a7b40f31f4061ddd23 /azalea-core/src
parent900a4234e5b7fbf24a557907bce7c3b7ce30822e (diff)
downloadazalea-drasl-53fca5faf4878c7afcd65f1eb0811c2b8e02a214.tar.xz
fix errors when switching worlds
Diffstat (limited to 'azalea-core/src')
-rw-r--r--azalea-core/src/registry_holder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-core/src/registry_holder.rs b/azalea-core/src/registry_holder.rs
index 0d2588cf..41cf0d05 100644
--- a/azalea-core/src/registry_holder.rs
+++ b/azalea-core/src/registry_holder.rs
@@ -152,7 +152,7 @@ pub struct DimensionTypeElement {
pub natural: bool,
pub piglin_safe: bool,
pub respawn_anchor_works: bool,
- pub ultrawarm: bool,
+ pub ultrawarm: Option<bool>,
}
/// Dimension attributes.
@@ -161,7 +161,7 @@ pub struct DimensionTypeElement {
pub struct DimensionTypeElement {
pub height: u32,
pub min_y: i32,
- pub ultrawarm: bool,
+ pub ultrawarm: Option<bool>,
#[simdnbt(flatten)]
pub _extra: HashMap<String, NbtTag>,
}