浏览代码

Parenthesis for clarity

NuclearW 13 年之前
父节点
当前提交
37308917d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/gmail/nossr50/util/blockmeta/PrimitiveChunkletStore.java

+ 1 - 1
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++) {
             for(int y = subColumnIndex; y < subColumnEnd; y++) {
                 if(store[x][z][y]) {
                 if(store[x][z][y]) {
-                    yCompressed |= 1 << y % 8; 
+                    yCompressed |= 1 << (y % 8);
                 }
                 }
             }
             }