From 324c3a27058e2468acd8d76cac978cacb5a87c3d Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 28 Aug 2018 14:04:51 -0700 Subject: [PATCH] S A N I K --- 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 50e543a8..eb1882f8 100644 --- a/src/main/java/baritone/chunk/CachedChunk.java +++ b/src/main/java/baritone/chunk/CachedChunk.java @@ -184,7 +184,7 @@ public final class CachedChunk implements IBlockTypeAccess { * @return The bit index */ public static int getPositionIndex(int x, int y, int z) { - return (x << 1) + (z << 5) + (y << 9); + return (x << 1) | (z << 5) | (y << 9); } /**