From 9ffd0e80bbb3feace231553d6539124585b03e3c Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 6 May 2026 03:36:16 -0100 Subject: change panicking functions in Client and EntityRef to return an AzaleaResult instead --- azalea/src/lib.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'azalea/src/lib.rs') 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; -- cgit v1.2.3