fix: neoapps dysfunctional build script
This commit is contained in:
@@ -41,7 +41,7 @@ bool RoofTreeFeature::checkSpace(Level *worldIn, int x, int y, int z, int height
|
||||
return false;
|
||||
}
|
||||
|
||||
if (tile == Tile::water_Id) {
|
||||
if (tile == Tile::flowing_water_Id) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -55,7 +55,7 @@ bool RoofTreeFeature::checkSpace(Level *worldIn, int x, int y, int z, int height
|
||||
void RoofTreeFeature::placeLog(Level *worldIn, int x, int y, int z) {
|
||||
int tile = worldIn->getTile(x, y, z);
|
||||
if (tile == 0 || tile == Tile::leaves_Id || tile == Tile::leaves2_Id || tile == Tile::tallgrass_Id) {
|
||||
placeBlock(worldIn, x, y, z, Tile::tree2Trunk_Id, TreeTile2::DARK_TRUNK);
|
||||
placeBlock(worldIn, x, y, z, Tile::log2_Id, TreeTile2::DARK_TRUNK);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user