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); } /**