diff --git a/src/main/java/baritone/utils/BlockStateInterface.java b/src/main/java/baritone/utils/BlockStateInterface.java index bd3186e1..cf56737a 100644 --- a/src/main/java/baritone/utils/BlockStateInterface.java +++ b/src/main/java/baritone/utils/BlockStateInterface.java @@ -87,7 +87,7 @@ public class BlockStateInterface implements Helper { if (region != null) { prevCached = region; } - IBlockState type = world.cache.getBlock(x, y, z); + IBlockState type = region.getBlock(x & 511, y, z & 511); if (type != null) { return type; }