From e1d3b902ba08170e4ee82c53f216445f57fbc47e Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 10 May 2025 06:22:08 +0330 Subject: add StartUseItemEvent and improve code related to interactions --- azalea/src/pathfinder/goals.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea/src') diff --git a/azalea/src/pathfinder/goals.rs b/azalea/src/pathfinder/goals.rs index 9052c8fd..3ef45993 100644 --- a/azalea/src/pathfinder/goals.rs +++ b/azalea/src/pathfinder/goals.rs @@ -212,7 +212,7 @@ impl Goal for ReachBlockPosGoal { let eye_position = n.to_vec3_floored() + Vec3::new(0.5, 1.62, 0.5); let look_direction = crate::direction_looking_at(&eye_position, &self.pos.center()); - let block_hit_result = azalea_client::interact::pick( + let block_hit_result = azalea_client::interact::pick_block( &look_direction, &eye_position, &self.chunk_storage, -- cgit v1.2.3