aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-09 19:34:51 -0500
committermat <github@matdoes.dev>2022-05-09 19:34:51 -0500
commitef3cbe27f2a7eed5c635924d6fa0401dd04eae77 (patch)
treec9dfa541fa74c2246edf71136ffb5f47c66672e2 /README.md
parentfd3a5ea87fa13bfaab7e099bbe15b9623fd55e74 (diff)
downloadazalea-drasl-ef3cbe27f2a7eed5c635924d6fa0401dd04eae77.tar.xz
hold_item -> hold
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);