S A N I K

This commit is contained in:
Leijurv 2018-08-28 14:04:51 -07:00
parent 801f942c30
commit 324c3a2705
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

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