mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-08-20 09:57:09 +00:00
Merge branch 'main' of https://github.com/piebotc/LegacyEvolved
This commit is contained in:
parent
60565f7a5e
commit
543e30641b
|
|
@ -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++)
|
for (int hh = 0; hh < treeHeight - 1; hh++)
|
||||||
{
|
{
|
||||||
int t = level->getTile(x, y + hh, z);
|
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;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ bool SpruceFeature::place(Level *level, Random *random, int x, int y, int z)
|
||||||
for (int hh = 0; hh < treeHeight - topOffset; hh++)
|
for (int hh = 0; hh < treeHeight - topOffset; hh++)
|
||||||
{
|
{
|
||||||
int t = level->getTile(x, y + hh, z);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue