diff options
| author | mat <git@matdoes.dev> | 2024-01-04 01:55:00 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-01-04 01:55:00 -0600 |
| commit | 1347f3549282397be6a46b8b7cb76a7900d0690a (patch) | |
| tree | d3d468db0c9947f2914b6d0d71dc299c1b3e2634 /azalea/examples/testbot.rs | |
| parent | 13e6421cf5aeeddc035f42141da776d09d177e33 (diff) | |
| download | azalea-drasl-1347f3549282397be6a46b8b7cb76a7900d0690a.tar.xz | |
rename open_container to open_container_at and add get_open_container
Diffstat (limited to 'azalea/examples/testbot.rs')
| -rw-r--r-- | azalea/examples/testbot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs index 7e7b2ca0..c9e64ef9 100644 --- a/azalea/examples/testbot.rs +++ b/azalea/examples/testbot.rs @@ -216,7 +216,7 @@ async fn handle(mut bot: Client, event: Event, _state: State) -> anyhow::Result< return Ok(()); }; bot.look_at(target_pos.center()); - let container = bot.open_container(target_pos).await; + let container = bot.open_container_at(target_pos).await; println!("container: {container:?}"); if let Some(container) = container { if let Some(contents) = container.contents() { |
