diff options
| author | mat <git@matdoes.dev> | 2025-12-18 13:15:23 -1400 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-18 13:15:23 -1400 |
| commit | edd9ac93ec6abef4e57c6de828ee59b13da8d58f (patch) | |
| tree | 343d10bc7ef60549d3c478f814d0332dfddc8ba3 /azalea | |
| parent | 4bd67cb6a7bf0dc24c4ca2e4bed0a6fdac2b44ce (diff) | |
| download | azalea-drasl-edd9ac93ec6abef4e57c6de828ee59b13da8d58f.tar.xz | |
fix warning when Vec3 codec is represented as floats
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/src/swarm/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
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 |
