diff options
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/examples/steal.rs | 2 | ||||
| -rw-r--r-- | azalea/src/container.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea/examples/steal.rs b/azalea/examples/steal.rs index 71db1c68..87a1561b 100644 --- a/azalea/examples/steal.rs +++ b/azalea/examples/steal.rs @@ -68,7 +68,7 @@ async fn steal(bot: Client, state: State) -> anyhow::Result<()> { bot.goto(RadiusGoal::new(chest_block.center(), 3.)).await; - let Some(chest) = bot.open_container_at(chest_block, None).await else { + let Some(chest) = bot.open_container_at(chest_block).await else { println!("Couldn't open chest at {chest_block:?}"); continue; }; diff --git a/azalea/src/container.rs b/azalea/src/container.rs index dc85ba96..74c8b1e5 100644 --- a/azalea/src/container.rs +++ b/azalea/src/container.rs @@ -36,7 +36,7 @@ pub trait ContainerClientExt { /// configure this. /// /// ``` - /// # use azalea::{prelude::*, azalea::registry::Block}; + /// # use azalea::{prelude::*, registry::Block}; /// # async fn example(mut bot: azalea::Client) { /// let target_pos = bot /// .world() |
