mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Fixed data on generation, biome gradient
This commit is contained in:
@ -90,7 +90,7 @@ class SimpleChunkManager implements ChunkManager{
|
||||
*/
|
||||
public function setBlockDataAt($x, $y, $z, $data){
|
||||
if($chunk = $this->getChunk($x >> 4, $z >> 4)){
|
||||
$chunk->getBlockData($x & 0xf, $y & 0x7f, $z & 0xf, $data);
|
||||
$chunk->setBlockData($x & 0xf, $y & 0x7f, $z & 0xf, $data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user