From edd9ac93ec6abef4e57c6de828ee59b13da8d58f Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 18 Dec 2025 13:15:23 -1400 Subject: fix warning when Vec3 codec is represented as floats --- azalea/src/swarm/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'azalea/src') diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index db5dd394..05efa083 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -218,27 +218,27 @@ impl Swarm { static WARNED_1_000: AtomicBool = AtomicBool::new(false); if !WARNED_1_000.swap(true, atomic::Ordering::Relaxed) { warn!( - "the client's Event channel has more than 1,000 items! this is probably fine but if you're concerned about it, maybe consider disabling the packet-event feature in azalea to reduce the number of events?" + "The client's Event channel has more than 1,000 items! If you don't need it, consider disabling the `packet-event` feature for `azalea`." ) } if rx.len() > 10_000 { static WARNED_10_000: AtomicBool = AtomicBool::new(false); if !WARNED_10_000.swap(true, atomic::Ordering::Relaxed) { - warn!("the client's Event channel has more than 10,000 items!!") + warn!("The client's Event channel has more than 10,000 items!!") } if rx.len() > 100_000 { static WARNED_100_000: AtomicBool = AtomicBool::new(false); if !WARNED_100_000.swap(true, atomic::Ordering::Relaxed) { - warn!("the client's Event channel has more than 100,000 items!!!") + warn!("The client's Event channel has more than 100,000 items!!!") } if rx.len() > 1_000_000 { static WARNED_1_000_000: AtomicBool = AtomicBool::new(false); if !WARNED_1_000_000.swap(true, atomic::Ordering::Relaxed) { warn!( - "the client's Event channel has more than 1,000,000 items!!!! your code is almost certainly leaking memory" + "The client's Event channel has more than 1,000,000 items!!!! your code is almost certainly leaking memory" ) } } @@ -248,7 +248,7 @@ impl Swarm { if let Event::Disconnect(_) = event { debug!( - "sending SwarmEvent::Disconnect due to receiving an Event::Disconnect from client {}", + "Sending SwarmEvent::Disconnect due to receiving an Event::Disconnect from client {}", bot.entity ); let account = bot -- cgit v1.2.3