BIOME_END constant is undefined, replaced with 9 as it looks like end biome

This commit is contained in:
GameHerobrine 2023-03-20 23:07:55 +03:00
parent bfb75990ba
commit 10c126b4d5

View file

@ -104,7 +104,7 @@ class EndGenerator implements NewLevelGenerator{
}
$this->level->setMiniChunk($chunkX, $chunkZ, $chunkY, $chunk);
}
$this->level->level->setBiomeIdArrayForChunk($chunkX, $chunkZ, str_repeat(chr(BIOME_END), 256));
$this->level->level->setBiomeIdArrayForChunk($chunkX, $chunkZ, str_repeat(chr(9), 256));
foreach($this->generationPopulators as $populator){
$populator->populate($this->level, $chunkX, $chunkZ, $this->random);
}