diff --git a/src/main/java/baritone/utils/BlockStateInterface.java b/src/main/java/baritone/utils/BlockStateInterface.java index cf56737ab..9a7c70280 100644 --- a/src/main/java/baritone/utils/BlockStateInterface.java +++ b/src/main/java/baritone/utils/BlockStateInterface.java @@ -86,10 +86,10 @@ public class BlockStateInterface implements Helper { CachedRegion region = world.cache.getRegion(x >> 9, z >> 9); if (region != null) { prevCached = region; - } - IBlockState type = region.getBlock(x & 511, y, z & 511); - if (type != null) { - return type; + IBlockState type = region.getBlock(x & 511, y, z & 511); + if (type != null) { + return type; + } } } return AIR;