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
@@ -110,7 +110,7 @@ void LargeHellCaveFeature::addTunnel(int64_t seed, int xOffs, int zOffs, byteArr
{
int p = (xx * 16 + zz) * Level::genDepth + yy;
if (yy < 0 || yy >= Level::genDepth) continue;
if (blocks[p] == Tile::lava_Id || blocks[p] == Tile::calmLava_Id)
if (blocks[p] == Tile::flowing_lava_Id || blocks[p] == Tile::lava_Id)
{
detectedWater = true;
}
@@ -136,7 +136,7 @@ void LargeHellCaveFeature::addTunnel(int64_t seed, int xOffs, int zOffs, byteArr
if (yd > -0.7 && xd * xd + yd * yd + zd * zd < 1)
{
int block = blocks[p];
if (block == Tile::netherRack_Id || block == Tile::dirt_Id || block == Tile::grass_Id)
if (block == Tile::netherrack_Id || block == Tile::dirt_Id || block == Tile::grass_Id)
{
blocks[p] = static_cast<byte>(0);
}