mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-09 17:19:15 -10:00
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:
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 {
|
||||
|
||||
Reference in new issue
Block a user