mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
i hope leaves cant override log now
This commit is contained in:
parent
1ad37d36e1
commit
a82b271b2f
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class SmallTreeObject extends TreeObject{
|
||||||
if($xOff === $mid and $zOff === $mid and ($yOff === 0 or mt_rand(0, 2) === 0)){
|
if($xOff === $mid and $zOff === $mid and ($yOff === 0 or mt_rand(0, 2) === 0)){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(!$level->getBlock(new Vector3($x, $y + $yy, $z))->isSolid){
|
if(!$level->getBlock(new Vector3($xx, $yy, $zz))->isSolid){
|
||||||
$leafpos = new Vector3($xx, $yy, $zz);
|
$leafpos = new Vector3($xx, $yy, $zz);
|
||||||
$level->setBlockRaw($leafpos, new LeavesBlock($this->type));
|
$level->setBlockRaw($leafpos, new LeavesBlock($this->type));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue