From 7bda95cfb2d4187534d2e70f27d59c57e14729fe Mon Sep 17 00:00:00 2001 From: Redned Date: Wed, 11 Sep 2019 22:22:46 -0500 Subject: [PATCH] Set non-air blocks on the block layer --- .../src/main/java/org/geysermc/connector/utils/ChunkUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/utils/ChunkUtils.java b/connector/src/main/java/org/geysermc/connector/utils/ChunkUtils.java index 460da043c..b59307352 100644 --- a/connector/src/main/java/org/geysermc/connector/utils/ChunkUtils.java +++ b/connector/src/main/java/org/geysermc/connector/utils/ChunkUtils.java @@ -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); } } }