Fixed setting biome color

This commit is contained in:
Shoghi Cervantes 2014-06-16 03:32:55 +02:00
parent e47198deaf
commit bbb69429f3

View File

@ -206,7 +206,7 @@ abstract class BaseChunk implements Chunk{
}
public function setBiomeColor($x, $z, $R, $G, $B){
$this->biomeColors[($z << 4) + $x] = 0xFF000000 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF);
$this->biomeColors[($z << 4) + $x] = 0x01000000 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF);
}
public function getHighestBlockAt($x, $z){