mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Remove biome colours and fix biome id arrays
This commit is contained in:
@ -120,13 +120,6 @@ class Nether extends Generator{
|
||||
|
||||
$biome = Biome::getBiome(Biome::HELL);
|
||||
$chunk->setBiomeId($x, $z, $biome->getId());
|
||||
$color = [0, 0, 0];
|
||||
$bColor = $biome->getColor();
|
||||
$color[0] += (($bColor >> 16) ** 2);
|
||||
$color[1] += ((($bColor >> 8) & 0xff) ** 2);
|
||||
$color[2] += (($bColor & 0xff) ** 2);
|
||||
|
||||
$chunk->setBiomeColor($x, $z, $color[0], $color[1], $color[2]);
|
||||
|
||||
for($y = 0; $y < 128; ++$y){
|
||||
if($y === 0 or $y === 127){
|
||||
|
Reference in New Issue
Block a user