diff options
| author | mat <git@matdoes.dev> | 2025-12-24 01:50:54 -0200 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-24 01:50:54 -0200 |
| commit | aae744918e26c505e0932a65624c4aac65815d19 (patch) | |
| tree | 68020aaa8eec379cdc2a6f594ae4736e9585dd07 /azalea-chat/src | |
| parent | 599bbfc8ce95a2b5aefe6b22e3b8b0931b5c9581 (diff) | |
| download | azalea-drasl-aae744918e26c505e0932a65624c4aac65815d19.tar.xz | |
remove unused deps and fix compilation when certain features are disabled
Diffstat (limited to 'azalea-chat/src')
| -rw-r--r-- | azalea-chat/src/numbers.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-chat/src/numbers.rs b/azalea-chat/src/numbers.rs index 6f943621..60b599e8 100644 --- a/azalea-chat/src/numbers.rs +++ b/azalea-chat/src/numbers.rs @@ -1,10 +1,12 @@ //! Contains a few ways to style numbers. At the time of writing, Minecraft only //! uses this for rendering scoreboard objectives. +#[cfg(feature = "azalea-buf")] use std::io::{self, Cursor, Write}; #[cfg(feature = "azalea-buf")] use azalea_buf::{AzaleaRead, AzaleaWrite}; +#[cfg(feature = "azalea-buf")] use azalea_registry::builtin::NumberFormatKind; use simdnbt::owned::Nbt; |
