Skip to content

Commit

Permalink
Fix: encompassing utility use max correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Nov 11, 2024
1 parent b1398e0 commit 89ad75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/lovetropics/lib/BlockBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public BlockBox intersection(BlockBox other) {
public BlockBox encompassing(BlockBox other) {
return new BlockBox(
BlockPos.min(this.min, other.min),
BlockPos.max(this.min, other.min)
BlockPos.max(this.max, other.max)
);
}

Expand Down

0 comments on commit 89ad75c

Please sign in to comment.