S A N I K
This commit is contained in:
parent
801f942c30
commit
324c3a2705
@ -184,7 +184,7 @@ public final class CachedChunk implements IBlockTypeAccess {
|
|||||||
* @return The bit index
|
* @return The bit index
|
||||||
*/
|
*/
|
||||||
public static int getPositionIndex(int x, int y, int z) {
|
public static int getPositionIndex(int x, int y, int z) {
|
||||||
return (x << 1) + (z << 5) + (y << 9);
|
return (x << 1) | (z << 5) | (y << 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user