Skip to content

Commit 91588ca

Browse files
authored
oh my GOD
1 parent 8193206 commit 91588ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/baritone/utils/BlockStateInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public BlockState get0(int x, int y, int z) { // Mickey resigned
132132
prevCached = region;
133133
cached = region;
134134
}
135-
BlockState type = cached.getBlock(x & 511, y, z & 511);
135+
BlockState type = cached.getBlock(x & 511, y + world.dimensionType().minY(), z & 511);
136136
if (type == null) {
137137
return AIR;
138138
}

0 commit comments

Comments
 (0)