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-core/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-core/src')
| -rwxr-xr-x | azalea-core/src/aabb.rs | 1 | ||||
| -rwxr-xr-x | azalea-core/src/block_hit_result.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/azalea-core/src/aabb.rs b/azalea-core/src/aabb.rs index 61b015cb..70829aa2 100755 --- a/azalea-core/src/aabb.rs +++ b/azalea-core/src/aabb.rs @@ -260,6 +260,7 @@ impl AABB { block_pos: *pos, inside: false, miss: false, + world_border: false, }) } diff --git a/azalea-core/src/block_hit_result.rs b/azalea-core/src/block_hit_result.rs index 20cc723b..4d930453 100755 --- a/azalea-core/src/block_hit_result.rs +++ b/azalea-core/src/block_hit_result.rs @@ -10,6 +10,7 @@ pub struct BlockHitResult { pub block_pos: BlockPos, pub miss: bool, pub inside: bool, + pub world_border: bool, } impl BlockHitResult { @@ -20,6 +21,7 @@ impl BlockHitResult { block_pos, miss: true, inside: false, + world_border: false, } } |
