mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Fix for growing trees
This commit is contained in:
parent
69d2557e32
commit
38f40eb540
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ class TreeObject{
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if($tree->canPlaceObject($level, $block->position->x, $block->position->y, $block->position->z)){
|
if($tree->canPlaceObject($level, $block->v->x, $block->v->y, $block->v->z)){
|
||||||
$tree->placeObject($level, $block->position->x, $block->position->y, $block->position->z);
|
$tree->placeObject($level, $block->v->x, $block->v->y, $block->v->z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue