From 10fc2af7a2a4a866e4fcb46a7a16416e5aa76152 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 21 Jun 2022 12:26:28 -0700 Subject: [PATCH] Send is_flat in JoinGame --- src/client.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/client.rs b/src/client.rs index 48422af..4e0af03 100644 --- a/src/client.rs +++ b/src/client.rs @@ -362,8 +362,6 @@ impl<'a> ClientMut<'a> { return; } - let dimension = server.dimension(meta.dimension()); - let current_tick = server.current_tick(); // Send the join game packet and other initial packets. We defer this until now @@ -390,8 +388,8 @@ impl<'a> ClientMut<'a> { simulation_distance: VarInt(16), reduced_debug_info: false, // TODO enable_respawn_screen: false, - is_debug: false, // TODO - is_flat: false, + is_debug: false, + is_flat: meta.is_flat(), last_death_location: None, // TODO });