oh my GOD

This commit is contained in:
leijurv 2023-09-28 20:42:08 -07:00 committed by Leijurv
parent d8d5343065
commit 7c9015d205
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class BlockStateInterface {
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;
}