aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md2
1 files changed, 1 insertions, 1 deletions
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);