diff --git a/src/main/java/com/gmail/nossr50/util/blockmeta/PrimitiveChunkletStore.java b/src/main/java/com/gmail/nossr50/util/blockmeta/PrimitiveChunkletStore.java index 01d2f5b4f..478a2c94e 100644 --- a/src/main/java/com/gmail/nossr50/util/blockmeta/PrimitiveChunkletStore.java +++ b/src/main/java/com/gmail/nossr50/util/blockmeta/PrimitiveChunkletStore.java @@ -122,7 +122,7 @@ public class PrimitiveChunkletStore implements ChunkletStore { for(int y = subColumnIndex; y < subColumnEnd; y++) { if(store[x][z][y]) { - yCompressed |= 1 << y % 8; + yCompressed |= 1 << (y % 8); } }