aboutsummaryrefslogtreecommitdiff
path: root/azalea/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-18 13:15:23 -1400
committermat <git@matdoes.dev>2025-12-18 13:15:23 -1400
commitedd9ac93ec6abef4e57c6de828ee59b13da8d58f (patch)
tree343d10bc7ef60549d3c478f814d0332dfddc8ba3 /azalea/src
parent4bd67cb6a7bf0dc24c4ca2e4bed0a6fdac2b44ce (diff)
downloadazalea-drasl-edd9ac93ec6abef4e57c6de828ee59b13da8d58f.tar.xz
fix warning when Vec3 codec is represented as floats
Diffstat (limited to 'azalea/src')
-rw-r--r--azalea/src/swarm/mod.rs10
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