Updated a few tabs, updated SPL submodule

This commit is contained in:
SOF3
2016-10-03 01:59:06 +08:00
parent e913b16804
commit 4133f98b23
3 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ class SpruceTree extends Tree{
$xOff = abs($xx - $x);
for($zz = $z - $radius; $zz <= $z + $radius; ++$zz){
$zOff = abs($zz - $z);
if($xOff === $radius and $zOff === $radius and $radius > 0){
if($xOff === $radius and $zOff === $radius and $radius > 0){
continue;
}
@ -62,10 +62,10 @@ class SpruceTree extends Tree{
$level->setBlockIdAt($xx, $yyy, $zz, $this->leafBlock);
$level->setBlockDataAt($xx, $yyy, $zz, $this->type);
}
}
}
}
}
if($radius >= $maxR){
if($radius >= $maxR){
$radius = $minR;
$minR = 1;
if(++$maxR > $lRadius){