mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
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) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue