mirror of
https://github.com/FabricMC/fabric.git
synced 2024-12-11 00:31:05 -05:00
215bbe96c2
* Fix inconsistency of placed feature locations
`BiomeSource#getBiomes` mixin applies to all biome sources, including one for Overworld.
The return value is a set; however one caller in the worldgen code iterates over it: `PlacedFeatureIndexer`.
Using a hash set here randomizes the return value, affecting feature placement.
Use a linked hash set instead.
* Improve fix to only make changes when required.
---------
Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle |