From 4e531ec5786f0f41a9114d56cfe10ba0298b64dc Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 28 Aug 2018 14:00:40 -0700 Subject: [PATCH] SANIK --- src/main/java/baritone/chunk/CachedChunk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/chunk/CachedChunk.java b/src/main/java/baritone/chunk/CachedChunk.java index 2c8288b3..9449d20b 100644 --- a/src/main/java/baritone/chunk/CachedChunk.java +++ b/src/main/java/baritone/chunk/CachedChunk.java @@ -183,7 +183,7 @@ public final class CachedChunk implements IBlockTypeAccess { * @return The bit index */ public static int getPositionIndex(int x, int y, int z) { - return (x + (z << 4) + (y << 8)) << 1; + return (x << 1) + (z << 5) + (y << 9); } /**