From c38957374c288eb41b7dbd905071a469c7bbb2b1 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 24 Feb 2024 14:00:09 -0600 Subject: fix parsing textcomponents failing when it's translatable and has a primitive as an argument --- azalea-protocol/src/read.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-protocol/src/read.rs') diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index e9337898..434cc74a 100755 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -349,10 +349,10 @@ where } if log::log_enabled!(log::Level::Trace) { - const EXTRA_LARGE_LOGS: bool = false; + const DO_NOT_CUT_OFF_PACKET_LOGS: bool = false; let buf_string: String = { - if !EXTRA_LARGE_LOGS && buf.len() > 500 { + if !DO_NOT_CUT_OFF_PACKET_LOGS && buf.len() > 500 { let cut_off_buf = &buf[..500]; format!("{cut_off_buf:?}...") } else { -- cgit v1.2.3