mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +00:00
such fix. I even made a regular expression to find these
This commit is contained in:
parent
1526c6cae9
commit
f8b270e33f
@ -237,8 +237,7 @@ class LevelAPI{
|
||||
}
|
||||
}
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
public function getAll(){
|
||||
return $this->levels;
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,7 @@ class SmallTreeObject extends TreeObject{
|
||||
}
|
||||
|
||||
// Place the trunk last
|
||||
if( $leaflevel > 1 )
|
||||
if($leaflevel > 1)
|
||||
{
|
||||
$trunkpos = new Vector3( $pos->x, $pos->y + $yy, $pos->z );
|
||||
$level->setBlockRaw($trunkpos, new WoodBlock( $this->type ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user