mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Mgv6/treegen: (Re)Add fallback nodes for compatibility with subgames
This commit is contained in:
@@ -108,6 +108,14 @@ MapgenV6::MapgenV6(int mapgenid, MapgenParams *params, EmergeManager *emerge)
|
||||
c_mossycobble = c_cobble;
|
||||
if (c_stair_cobble == CONTENT_IGNORE)
|
||||
c_stair_cobble = c_cobble;
|
||||
if (c_dirt_with_snow == CONTENT_IGNORE)
|
||||
c_dirt_with_snow = c_dirt_with_grass;
|
||||
if (c_snow == CONTENT_IGNORE)
|
||||
c_snow = CONTENT_AIR;
|
||||
if (c_snowblock == CONTENT_IGNORE)
|
||||
c_snowblock = c_dirt_with_grass;
|
||||
if (c_ice == CONTENT_IGNORE)
|
||||
c_ice = c_water_source;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user