From ea5a1c1ec128cc1a33593c9d91ef758c3fb73e16 Mon Sep 17 00:00:00 2001 From: Shayne Hartford Date: Sat, 30 Nov 2024 19:05:35 -0500 Subject: Add missing world border boolean to use item on packet in 1.21.2 (#192) --- azalea-client/src/interact.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'azalea-client/src') diff --git a/azalea-client/src/interact.rs b/azalea-client/src/interact.rs index 0acc6992..e11873ae 100644 --- a/azalea-client/src/interact.rs +++ b/azalea-client/src/interact.rs @@ -136,6 +136,7 @@ pub fn handle_block_interact_event( direction: hit_result.direction, location: hit_result.location, inside: hit_result.inside, + world_border: hit_result.world_border, } } else { // we're not looking at the block, so make up some numbers @@ -144,6 +145,7 @@ pub fn handle_block_interact_event( direction: Direction::Up, location: event.position.center(), inside: false, + world_border: false, } }; -- cgit v1.2.3