From d56c44766e0f71f5f871b6a457174b81126a2331 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 27 May 2022 23:10:34 -0500 Subject: block macros --- examples/craft_dig_straight_down.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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; -- cgit v1.2.3