From 6a756174c7b86ff6a4298e0a4f2f8e41b48aac49 Mon Sep 17 00:00:00 2001 From: Snowiiii Date: Sun, 8 Sep 2024 17:17:35 +0200 Subject: [PATCH] Fix: clippy --- pumpkin/src/client/client_packet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pumpkin/src/client/client_packet.rs b/pumpkin/src/client/client_packet.rs index 43a8e865..b04c93a6 100644 --- a/pumpkin/src/client/client_packet.rs +++ b/pumpkin/src/client/client_packet.rs @@ -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) {