diff options
| author | mat <git@matdoes.dev> | 2024-02-24 14:00:09 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-02-24 14:00:09 -0600 |
| commit | c38957374c288eb41b7dbd905071a469c7bbb2b1 (patch) | |
| tree | 573b1d52a9b7463d4590e1f455b9844560bbc1c6 /azalea-protocol/src/read.rs | |
| parent | 4eeda83ba4bdb5e20c765a46e43227f4f9b39b69 (diff) | |
| download | azalea-drasl-c38957374c288eb41b7dbd905071a469c7bbb2b1.tar.xz | |
fix parsing textcomponents failing when it's translatable and has a primitive as an argument
Diffstat (limited to 'azalea-protocol/src/read.rs')
| -rwxr-xr-x | azalea-protocol/src/read.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
