Skip to content

Commit

Permalink
Merge pull request #4465 from ZacSharp/pr/1.20.6/selection/fixSelecti…
Browse files Browse the repository at this point in the history
…onAABB

Fix selection box aabbs
  • Loading branch information
leijurv authored Aug 22, 2024
2 parents acdcbf5 + e682fc7 commit 800545f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/baritone/selection/Selection.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public Selection(BetterBlockPos pos1, BetterBlockPos pos2) {
max.z - min.z + 1
);

this.aabb = new AABB(this.min);
this.aabb = new AABB(min.x, min.y, min.z, max.x + 1, max.y + 1, max.z + 1);
}

@Override
Expand Down

0 comments on commit 800545f

Please sign in to comment.