forked from GeyserMC/Geyser
Set non-air blocks on the block layer
This commit is contained in:
parent
e8f382ab06
commit
7bda95cfb2
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class ChunkUtils {
|
||||||
if(bedrockBlock.getId() == 0) {
|
if(bedrockBlock.getId() == 0) {
|
||||||
section.getBlockStorageArray()[1].setFullBlock(ChunkSection.blockPosition(x, y, z), 0 << 4 | 0);
|
section.getBlockStorageArray()[1].setFullBlock(ChunkSection.blockPosition(x, y, z), 0 << 4 | 0);
|
||||||
} else {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue