Set non-air blocks on the block layer

This commit is contained in:
Redned 2019-09-11 22:22:46 -05:00 committed by GitHub
parent e8f382ab06
commit 7bda95cfb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class ChunkUtils {
if(bedrockBlock.getId() == 0) {
section.getBlockStorageArray()[1].setFullBlock(ChunkSection.blockPosition(x, y, z), 0 << 4 | 0);
} else {
section.getBlockStorageArray()[1].setFullBlock(ChunkSection.blockPosition(x, y, z), 1 << 4 | 0);
section.getBlockStorageArray()[0].setFullBlock(ChunkSection.blockPosition(x, y, z), 1 << 4 | 0);
}
}
}