3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-07-06 13:28:06 +02:00

Set non-air blocks on the block layer

Dieser Commit ist enthalten in:
Redned 2019-09-11 22:22:46 -05:00 committet von GitHub
Ursprung e8f382ab06
Commit 7bda95cfb2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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);
}
}
}