mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
Fixed setBiomeColor() bug
This commit is contained in:
parent
a371890962
commit
36ddbc6cb4
@ -206,7 +206,7 @@ abstract class BaseChunk implements Chunk{
|
||||
}
|
||||
|
||||
public function setBiomeColor($x, $z, $R, $G, $B){
|
||||
$this->biomeColors = 0xFF000000 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF);
|
||||
$this->biomeColors[($z << 4) + $x] = 0xFF000000 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF);
|
||||
}
|
||||
|
||||
public function getHighestBlockAt($x, $z){
|
||||
|
Loading…
x
Reference in New Issue
Block a user