diff --git a/src/server/mod.rs b/src/server/mod.rs index 87b572f..2c1135a 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -1062,6 +1062,11 @@ impl Server { &mut self, join: packet::play::clientbound::JoinGame_WorldNames_IsHard_SimDist, ) { + println!("dimension = {:?}", join.dimension); + if let Some(crate::nbt::NamedTag(_, crate::nbt::Tag::Compound(tags))) = join.dimension { + println!("tags = {:?}", tags); + // TODO: min_y + } self.on_game_join(join.gamemode, join.entity_id) } @@ -1069,6 +1074,7 @@ impl Server { &mut self, join: packet::play::clientbound::JoinGame_WorldNames_IsHard, ) { + // TODO: also load dimension tags self.on_game_join(join.gamemode, join.entity_id) }