Fix wall rails and water biomes
This commit is contained in:
@@ -3811,7 +3811,8 @@ static void generate_chunk_border_wall(worldgen_ctx *ctx, int chunk_x, int chunk
|
||||
}
|
||||
if (top + 1 < CHUNK_HEIGHT) {
|
||||
if (!in_tower && (side_dist == wall_start || side_dist == wall_end)) {
|
||||
set_block_with_height(out, dx, dz, top + 1, BLOCK_IRON_BARS);
|
||||
uint16_t rail_block = (side < 2) ? BLOCK_IRON_BARS_NS : BLOCK_IRON_BARS_EW;
|
||||
set_block_with_height(out, dx, dz, top + 1, rail_block);
|
||||
} else if (in_tower && phase % 4 < 2) {
|
||||
set_block_with_height(out, dx, dz, top + 1, BLOCK_STONE_BRICKS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user