Carry an ore vein's positive_y through the shared rule's biome fold

Main gave CompiledRule::OreVein the y bounds of its positive density; the
fold copies them, as they depend on the rule and not on the chunk.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Horizon agentandClaude Opus 5.5 committed 2026-11-05 04:05:37 +01:00
1 parent 5ef75a930e
commit 3bbcda7ad5
1 file changed
+2
@@ -299,11 +299,13 @@ where
raw_ore_chance,
densities,
random,
positive_y,
} => Self::OreVein {
blocks: *blocks,
raw_ore_chance: *raw_ore_chance,
densities: *densities,
random: random.clone(),
positive_y: *positive_y,
},
Self::Condition { condition, rule } => {
let condition = match possible {