diff options
| -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 { |
