Skip to content

Commit

Permalink
Fix selection box aabbs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSharp committed Aug 9, 2024
1 parent acdcbf5 commit e682fc7
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 e682fc7

Please sign in to comment.