mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
Fixed setting biome color
This commit is contained in:
parent
e47198deaf
commit
bbb69429f3
@ -206,7 +206,7 @@ abstract class BaseChunk implements Chunk{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function setBiomeColor($x, $z, $R, $G, $B){
|
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){
|
public function getHighestBlockAt($x, $z){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user