Skip to content

Commit

Permalink
Fixed anchor below y 0 (MeteorDevelopment#3824)
Browse files Browse the repository at this point in the history
Co-authored-by: tyrannus00 <[email protected]>
  • Loading branch information
tyrannus00 and tyrannus00 authored Jul 10, 2023
1 parent 66e0b88 commit c6e2764
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private void onPostTick(TickEvent.Post event) {

for (int i = 0; i < maxHeight.get(); i++) {
y--;
if (y <= 0 || !isAir(x, y, z)) break;
if (y <= mc.world.getBottomY() || !isAir(x, y, z)) break;

if (isHole(x, y, z)) {
foundHole = true;
Expand Down

0 comments on commit c6e2764

Please sign in to comment.