Skip to content

Commit

Permalink
oh my GOD
Browse files Browse the repository at this point in the history
  • Loading branch information
leijurv committed Jan 6, 2024
1 parent d8d5343 commit 7c9015d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/baritone/utils/BlockStateInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public BlockState get0(int x, int y, int z) { // Mickey resigned
prevCached = region;
cached = region;
}
BlockState type = cached.getBlock(x & 511, y, z & 511);
BlockState type = cached.getBlock(x & 511, y + world.dimensionType().minY(), z & 511);
if (type == null) {
return AIR;
}
Expand Down

0 comments on commit 7c9015d

Please sign in to comment.