diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-08-04 20:43:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-04 20:43:10 -0500 |
| commit | 23b7f20a0d88b54d430820baeb4a6da0316a009a (patch) | |
| tree | f3e780515b3bbb9973d2b94338be6194b5ec0af3 /azalea/src | |
| parent | 827d943c3f27c65724ff83689b40c87d1cd1838c (diff) | |
| download | azalea-drasl-23b7f20a0d88b54d430820baeb4a6da0316a009a.tar.xz | |
Default components (#232)
* add default components
* remove debug prints
* clippy
* use default components
* fix tests
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, |
