fix: neoapps dysfunctional build script

This commit is contained in:
Fireblade
2026-05-05 23:20:16 -04:00
parent 8ccb2b6741
commit f8e4f6376e
287 changed files with 4143 additions and 4710 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ bool TreeFeature::place(Level *level, Random *random, int x, int y, int z)
if (yy >= 0 && yy < Level::maxBuildHeight)
{
int tt = level->getTile(xx, yy, zz);
if (tt != 0 && tt != Tile::leaves_Id && tt != Tile::grass_Id && tt != Tile::dirt_Id && tt != Tile::treeTrunk_Id) free = false;
if (tt != 0 && tt != Tile::leaves_Id && tt != Tile::grass_Id && tt != Tile::dirt_Id && tt != Tile::log_Id) free = false;
}
else
{
@@ -88,7 +88,7 @@ bool TreeFeature::place(Level *level, Random *random, int x, int y, int 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, trunkType);
placeBlock(level, x, y + hh, z, Tile::log_Id, trunkType);
if (addJungleFeatures && hh > 0)
{
if (random->nextInt(3) > 0 && level->isEmptyTile(x - 1, y + hh, z))