mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +00:00
Normal: drop MOUNTAINS and SMALL_MOUNTAINS from biome selection
this would cause disruption to generation on a patch release, which is unacceptable. This would be better for 3.20 or 4.0.
This commit is contained in:
parent
b01e4ab417
commit
361be8fe36
@ -144,13 +144,9 @@ class Normal extends Generator{
|
|||||||
return Biome::BIRCH_FOREST;
|
return Biome::BIRCH_FOREST;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if($temperature < 0.20){
|
//Previously here, we had a (broken) condition to generate mountains, but fixing it would have
|
||||||
return Biome::MOUNTAINS;
|
//caused generation changes on a patch release, so we can't keep it here for now.
|
||||||
}elseif($temperature < 0.40){
|
return Biome::RIVER;
|
||||||
return Biome::SMALL_MOUNTAINS;
|
|
||||||
}else{
|
|
||||||
return Biome::RIVER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user