From ef3cbe27f2a7eed5c635924d6fa0401dd04eae77 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 9 May 2022 19:34:51 -0500 Subject: [PATCH] hold_item -> hold --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f3e2f0d..084b981d 100755 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ loop { }, Event::Hunger(h) { if !h.using_held_item() && h.hunger <= 17 { - match bot.hold_item(azalea::ItemGroup::Food).await { + match bot.hold(azalea::ItemGroup::Food).await { Ok(_) => {}, Err(e) => { println!("{}", e);