Fixed data on generation, biome gradient

This commit is contained in:
Shoghi Cervantes
2015-03-27 12:42:59 +01:00
parent 08f2b7f291
commit e0522d8b1a
4 changed files with 29 additions and 23 deletions

View File

@ -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);
}
}