diff options
| author | mat <github@matdoes.dev> | 2022-05-09 19:34:51 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-09 19:34:51 -0500 |
| commit | ef3cbe27f2a7eed5c635924d6fa0401dd04eae77 (patch) | |
| tree | c9dfa541fa74c2246edf71136ffb5f47c66672e2 /README.md | |
| parent | fd3a5ea87fa13bfaab7e099bbe15b9623fd55e74 (diff) | |
| download | azalea-drasl-ef3cbe27f2a7eed5c635924d6fa0401dd04eae77.tar.xz | |
hold_item -> hold
Diffstat (limited to 'README.md')
| -rwxr-xr-x | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
