Fixed spruce trees having sideways log

This commit is contained in:
piebot
2026-03-16 00:29:29 +03:00
parent 0bee09ecea
commit 100d42781f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ bool PineFeature::place(Level *level, Random *random, int x, int y, int z)
for (int hh = 0; hh < treeHeight - 1; hh++)
{
int t = level->getTile(x, y + hh, z);
if (t == 0 || t == Tile::leaves_Id) placeBlock(level, x, y + hh, z, Tile::treeTrunk_Id, TreeTile::DARK_TRUNK);
if (t == 0 || t == Tile::leaves_Id) placeBlock(level, x, y + hh, z, Tile::treeTrunk_Id, TreeTile::SPRUCE_TRUNK);
}
return true;