aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-27 23:10:34 -0500
committermat <github@matdoes.dev>2022-05-27 23:10:34 -0500
commitd56c44766e0f71f5f871b6a457174b81126a2331 (patch)
tree4e7b0cccde9a64c936229cfa92a63835d16046cb /examples
parentc0433b7d4934caa5b1a42625d16058fcece2a86d (diff)
downloadazalea-drasl-d56c44766e0f71f5f871b6a457174b81126a2331.tar.xz
block macros
Diffstat (limited to 'examples')
-rw-r--r--examples/craft_dig_straight_down.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/craft_dig_straight_down.rs b/examples/craft_dig_straight_down.rs
index 79985672..1d1a89f6 100644
--- a/examples/craft_dig_straight_down.rs
+++ b/examples/craft_dig_straight_down.rs
@@ -14,7 +14,7 @@ loop {
pathfinder::Goals::NearXZ(5, azalea::BlockXZ(0, 0))
).await;
let chest = bot.open_chest(&bot.world.find_one_block(|b| b.id == "minecraft:chest")).await.unwrap();
- bot.take_amount(&chest, 3, |i| i.id == "#minecraft:planks").await;
+ bot.take_amount(&chest, 5, |i| i.id == "#minecraft:planks").await;
// when rust adds async drop this won't be necessary
chest.close().await;