Send is_flat in JoinGame

This commit is contained in:
Ryan 2022-06-21 12:26:28 -07:00
parent c86b8286ce
commit 10fc2af7a2

View file

@ -362,8 +362,6 @@ impl<'a> ClientMut<'a> {
return; return;
} }
let dimension = server.dimension(meta.dimension());
let current_tick = server.current_tick(); let current_tick = server.current_tick();
// Send the join game packet and other initial packets. We defer this until now // 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), simulation_distance: VarInt(16),
reduced_debug_info: false, // TODO reduced_debug_info: false, // TODO
enable_respawn_screen: false, enable_respawn_screen: false,
is_debug: false, // TODO is_debug: false,
is_flat: false, is_flat: meta.is_flat(),
last_death_location: None, // TODO last_death_location: None, // TODO
}); });