Skip to content

Commit ea98c9e

Browse files
committed
chore: update login packet
1 parent 39f6fd2 commit ea98c9e

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ mod server;
3737
mod state;
3838
mod world;
3939

40-
const VERSION: &str = "1.21.1";
41-
const VERSION_NUM: i32 = 767;
40+
const VERSION: &str = "1.21.4";
41+
const VERSION_NUM: i32 = 769;
4242
const TICK_RATE: u8 = 20;
4343

4444
type CrawlState = Arc<state::State>;

src/net/player.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ impl SharedPlayer {
245245
uuid,
246246
username: Bounded(&username),
247247
properties: Vec::new(),
248-
strict_error_handling: false,
249248
};
250249

251250
{

src/protocol/packets/login/login.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ pub struct LoginSuccessC<'a> {
4949
pub uuid: Uuid,
5050
pub username: Bounded<&'a str, 16>,
5151
pub properties: Vec<Property<'a>>,
52-
pub strict_error_handling: bool,
5352
}
5453

5554
impl Packet for LoginSuccessC<'_> {
@@ -64,7 +63,6 @@ impl<'a> Encode for LoginSuccessC<'a> {
6463
self.username.encode(&mut w)?;
6564
properties_len.encode(&mut w)?;
6665
self.properties.encode(&mut w)?;
67-
self.strict_error_handling.encode(&mut w)?;
6866

6967
Ok(())
7068
}

0 commit comments

Comments
 (0)