mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Fix Normal generator logic fail
This commit is contained in:
parent
41d36e4e7a
commit
b566c4e609
@ -119,9 +119,9 @@ class Normal extends Generator{
|
||||
$this->random->setSeed($this->level->getSeed());
|
||||
$this->selector = new BiomeSelector($this->random, function($temperature, $rainfall){
|
||||
if($rainfall < 0.25){
|
||||
if($rainfall < 0.7){
|
||||
if($temperature < 0.7){
|
||||
return Biome::OCEAN;
|
||||
}elseif($rainfall < 0.85){
|
||||
}elseif($temperature < 0.85){
|
||||
return Biome::RIVER;
|
||||
}else{
|
||||
return Biome::SWAMP;
|
||||
|
Loading…
x
Reference in New Issue
Block a user