diff options
| author | mat <git@matdoes.dev> | 2026-05-06 03:36:16 -0100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-05-07 08:05:58 -1200 |
| commit | 9ffd0e80bbb3feace231553d6539124585b03e3c (patch) | |
| tree | ad8df7d07df9f8f542e288c263d76b8ffd637416 /azalea/src/lib.rs | |
| parent | 4d1f430408dc6854c1af5fb14b2641e293a9cf43 (diff) | |
| download | azalea-drasl-9ffd0e80bbb3feace231553d6539124585b03e3c.tar.xz | |
change panicking functions in Client and EntityRef to return an AzaleaResult instead
Diffstat (limited to 'azalea/src/lib.rs')
| -rw-r--r-- | azalea/src/lib.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs index f70a77fa..3a2bc0cf 100644 --- a/azalea/src/lib.rs +++ b/azalea/src/lib.rs @@ -47,7 +47,15 @@ pub use azalea_registry as registry; #[doc(hidden)] #[deprecated(note = "renamed to `Identifier`.")] pub type ResourceLocation = azalea_registry::identifier::Identifier; -pub use azalea_chat as chat; + +// TODO: replace this mod with the commented line below +// pub use azalea_chat as chat; +pub mod chat { + pub use azalea_chat::*; + #[deprecated = "moved to `azalea::client_chat`."] + pub type ChatPacket = azalea_client::client_chat::ChatPacket; +} + pub use azalea_registry::identifier::Identifier; pub use azalea_world as world; pub use bevy_app as app; |
