add bench link

This commit is contained in:
Leijurv 2018-09-23 08:05:59 -07:00
parent b2cbce28b3
commit 65a59cb739
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -58,6 +58,7 @@ public class BlockStateInterface implements Helper {
// if it's the same chunk as last time // if it's the same chunk as last time
// we can just skip the mc.world.getChunk lookup // we can just skip the mc.world.getChunk lookup
// which is a Long2ObjectOpenHashMap.get // which is a Long2ObjectOpenHashMap.get
// see issue #113
if (cached != null && cached.x == x >> 4 && cached.z == z >> 4) { if (cached != null && cached.x == x >> 4 && cached.z == z >> 4) {
return cached.getBlockState(x, y, z); return cached.getBlockState(x, y, z);
} }