Skip to content

Commit

Permalink
Fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowiiii committed Sep 8, 2024
1 parent c6f561e commit 6a75617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumpkin/src/client/client_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl Client {
name.len() <= 16
&& name
.chars()
.all(|c| c > 32 as u8 as char && c < 127 as u8 as char)
.all(|c| c > 32_u8 as char && c < 127_u8 as char)
}

pub fn handle_login_start(&mut self, server: &mut Server, login_start: SLoginStart) {
Expand Down

0 comments on commit 6a75617

Please sign in to comment.