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
+3 -3
View File
@@ -30,11 +30,11 @@ bool DoublePlantFeature::place(Level* level, Random* rand, int x, int y, int z)
if (level->getTile(bx, by + 1, bz) != 0) continue;
if (!static_cast<TallGrass2*>(Tile::tiles[Tile::tallgrass2_Id])->mayPlace(level, bx, by, bz)) continue;
if (!static_cast<TallGrass2*>(Tile::tiles[Tile::double_plant_Id])->mayPlace(level, bx, by, bz)) continue;
level->setTileAndData(bx, by, bz, Tile::tallgrass2_Id, m_plantType, 0);
level->setTileAndData(bx, by + 1, bz, Tile::tallgrass2_Id, TallGrass2::UPPER_BIT | m_plantType, 0);
level->setTileAndData(bx, by, bz, Tile::double_plant_Id, m_plantType, 0);
level->setTileAndData(bx, by + 1, bz, Tile::double_plant_Id, TallGrass2::UPPER_BIT | m_plantType, 0);
placed = true;
}