From 23b7f20a0d88b54d430820baeb4a6da0316a009a Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Mon, 4 Aug 2025 20:43:10 -0500 Subject: Default components (#232) * add default components * remove debug prints * clippy * use default components * fix tests --- azalea/src/auto_tool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea/src') 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::() { + if !item_stack.component_patch.has::() { this_item_speed = Some(azalea_entity::mining::get_mine_progress( block.as_ref(), item_stack.kind, -- cgit v1.2.3