such fix. I even made a regular expression to find these

This commit is contained in:
Shoghi Cervantes 2014-01-28 12:50:24 +01:00
parent 1526c6cae9
commit f8b270e33f
2 changed files with 2 additions and 3 deletions

View File

@ -237,8 +237,7 @@ class LevelAPI{
} }
} }
public function getAll() public function getAll(){
{
return $this->levels; return $this->levels;
} }

View File

@ -94,7 +94,7 @@ class SmallTreeObject extends TreeObject{
} }
// Place the trunk last // Place the trunk last
if( $leaflevel > 1 ) if($leaflevel > 1)
{ {
$trunkpos = new Vector3( $pos->x, $pos->y + $yy, $pos->z ); $trunkpos = new Vector3( $pos->x, $pos->y + $yy, $pos->z );
$level->setBlockRaw($trunkpos, new WoodBlock( $this->type ) ); $level->setBlockRaw($trunkpos, new WoodBlock( $this->type ) );