Skip to content

Commit

Permalink
Fix Void ESP 'hole-height' setting for the bottom bedrock layer (#5172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pokahs authored Feb 5, 2025
1 parent ba3660e commit 4c0af90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private boolean isBlockWrong(BlockPos blockPos) {

private boolean isHole(BlockPos.Mutable blockPos, boolean nether) {
for (int i = 0; i < holeHeight.get(); i++) {
blockPos.setY(nether ? 127 - i : mc.world.getBottomY());
blockPos.setY(nether ? 127 - i : mc.world.getBottomY() + i);
if (isBlockWrong(blockPos)) return false;
}

Expand Down

0 comments on commit 4c0af90

Please sign in to comment.