diff options
| author | mat <git@matdoes.dev> | 2026-01-04 00:50:39 -0630 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-04 00:50:39 -0630 |
| commit | 53ff9c652491bc9749123452dbabcf4a51b263f3 (patch) | |
| tree | 1419586e2d101f464a562beedeaa1aa97cea9fcf | |
| parent | 3137132bb93be664bc025c8e829e4f67431b4fe3 (diff) | |
| download | azalea-drasl-53ff9c652491bc9749123452dbabcf4a51b263f3.tar.xz | |
re-export simdnbt from azalea-protocol
| -rw-r--r-- | azalea-block/src/lib.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/lib.rs | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/azalea-block/src/lib.rs b/azalea-block/src/lib.rs index 86e2bc4f..9f39f471 100644 --- a/azalea-block/src/lib.rs +++ b/azalea-block/src/lib.rs @@ -49,7 +49,7 @@ pub trait BlockTrait: Debug + Any { /// Update a property on this block, with the name and value being strings. /// /// Returns `Ok(())`, if the property name and value are valid, otherwise it - /// returns `Err(())`. + /// returns `Err(InvalidPropertyError)`. /// /// To get a property, use [`Self::get_property`]. fn set_property(&mut self, name: &str, new_value: &str) -> Result<(), InvalidPropertyError>; diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index dc170e06..b269fba8 100644 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -11,6 +11,9 @@ pub mod read; pub mod resolve; pub mod write; +// re-export to make it easier for users to have the correct version +pub use simdnbt; + #[doc(hidden)] #[deprecated(note = "renamed to `resolve`.")] pub mod resolver { |
