diff options
| author | Shayne Hartford <shaybox@shaybox.com> | 2024-11-30 19:05:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-30 18:05:35 -0600 |
| commit | ea5a1c1ec128cc1a33593c9d91ef758c3fb73e16 (patch) | |
| tree | a118ec0a95af962da70d5df7ad1028813d2883a1 /azalea-client/src | |
| parent | 944fe5c6f888ebdcb7354cc5e6ab6a7414daec99 (diff) | |
| download | azalea-drasl-ea5a1c1ec128cc1a33593c9d91ef758c3fb73e16.tar.xz | |
Add missing world border boolean to use item on packet in 1.21.2 (#192)
Diffstat (limited to 'azalea-client/src')
| -rw-r--r-- | azalea-client/src/interact.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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, } }; |
