mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02: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
@ -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 New Issue
Block a user