mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
small fix 1
This commit is contained in:
parent
77961f1513
commit
29cf552dbe
1 changed files with 3 additions and 2 deletions
|
|
@ -69,8 +69,7 @@ class SmallTreeObject extends TreeObject{
|
|||
$x = $pos->getX();
|
||||
$y = $pos->getY();
|
||||
$z = $pos->getZ();
|
||||
$this->placeTrunk($level, $x, $y, $z, $random, $this->treeHeight - 1);
|
||||
|
||||
|
||||
for($yy = $y - 3 + $this->treeHeight; $yy <= $y + $this->treeHeight; ++$yy){
|
||||
$yOff = $yy - ($y + $this->treeHeight);
|
||||
$mid = (int) (1 - $yOff / 2);
|
||||
|
|
@ -88,6 +87,8 @@ class SmallTreeObject extends TreeObject{
|
|||
}
|
||||
}
|
||||
}
|
||||
$this->placeTrunk($level, $x, $y, $z, $random, $this->treeHeight - 1);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue