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
@@ -39,7 +39,7 @@ bool SwampTreeFeature::place(Level *level, Random *random, int x, int y, int z)
int tt = level->getTile(xx, yy, zz);
if (tt != 0 && tt != Tile::leaves_Id)
{
if (tt == Tile::calmWater_Id || tt == Tile::water_Id)
if (tt == Tile::water_Id || tt == Tile::flowing_water_Id)
{
if (yy > y) free = false;
}
@@ -83,7 +83,7 @@ bool SwampTreeFeature::place(Level *level, Random *random, int x, int y, int z)
for (int hh = 0; hh < treeHeight; hh++)
{
int t = level->getTile(x, y + hh, z);
if (t == 0 || t == Tile::leaves_Id || t == Tile::water_Id || t == Tile::calmWater_Id) placeBlock(level, x, y + hh, z, Tile::treeTrunk_Id);
if (t == 0 || t == Tile::leaves_Id || t == Tile::flowing_water_Id || t == Tile::water_Id) placeBlock(level, x, y + hh, z, Tile::log_Id);
}
for (int yy = y - 3 + treeHeight; yy <= y + treeHeight; yy++)