From 53fca5faf4878c7afcd65f1eb0811c2b8e02a214 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 21 Jan 2025 23:53:11 +0000 Subject: fix errors when switching worlds --- azalea-core/src/registry_holder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-core/src') 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, } /// 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, #[simdnbt(flatten)] pub _extra: HashMap, } -- cgit v1.2.3