Merge pull request #27 from agaricusb/fix-nibblearray4096

Fix lightened nibble array getChunkSnapshot on extended block IDs
This commit is contained in:
md-5 2013-03-28 23:10:04 -07:00
commit 3f7f3a8d31

View file

@ -327,7 +327,7 @@ index 79c3893..97b7b5b 100644
+ if (tval != 0) { + if (tval != 0) {
+ tval = tval << 8; + tval = tval << 8;
+ for (int j = 0; j < 4096; j++) { + for (int j = 0; j < 4096; j++) {
+ blockids[j << 1] |= tval; + blockids[j] |= tval;
+ } + }
+ } + }
+ } else { + } else {