diff options
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/auto_tool.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/auto_tool.rs b/azalea/src/auto_tool.rs index 1f339c85..0182e200 100644 --- a/azalea/src/auto_tool.rs +++ b/azalea/src/auto_tool.rs @@ -97,7 +97,7 @@ pub fn accurate_best_tool_in_hotbar_for_block( ItemStack::Present(item_stack) => { // lazy way to avoid checking durability since azalea doesn't have durability // data yet - if !item_stack.components.has::<components::Damage>() { + if !item_stack.component_patch.has::<components::Damage>() { this_item_speed = Some(azalea_entity::mining::get_mine_progress( block.as_ref(), item_stack.kind, |
