mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Merge pull request #27 from agaricusb/fix-nibblearray4096
Fix lightened nibble array getChunkSnapshot on extended block IDs
This commit is contained in:
commit
3f7f3a8d31
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ index 79c3893..97b7b5b 100644
|
|||
+ if (tval != 0) {
|
||||
+ tval = tval << 8;
|
||||
+ for (int j = 0; j < 4096; j++) {
|
||||
+ blockids[j << 1] |= tval;
|
||||
+ blockids[j] |= tval;
|
||||
+ }
|
||||
+ }
|
||||
+ } else {
|
||||
|
|
Loading…
Reference in a new issue