From 65a59cb73921e2bbcf02cca0b75be20f1f66ce73 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 23 Sep 2018 08:05:59 -0700 Subject: [PATCH] add bench link --- src/main/java/baritone/utils/BlockStateInterface.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/baritone/utils/BlockStateInterface.java b/src/main/java/baritone/utils/BlockStateInterface.java index ff55c7d8..c5d076ea 100644 --- a/src/main/java/baritone/utils/BlockStateInterface.java +++ b/src/main/java/baritone/utils/BlockStateInterface.java @@ -58,6 +58,7 @@ public class BlockStateInterface implements Helper { // if it's the same chunk as last time // we can just skip the mc.world.getChunk lookup // which is a Long2ObjectOpenHashMap.get + // see issue #113 if (cached != null && cached.x == x >> 4 && cached.z == z >> 4) { return cached.getBlockState(x, y, z); }