mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Biome API: Enable biome generation to lower world limit
Decorations: Remove lower limit of water level for placement
This commit is contained in:
@@ -129,7 +129,6 @@ size_t Decoration::placeDeco(Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax)
|
||||
s16 y = mg->heightmap ?
|
||||
mg->heightmap[mapindex] :
|
||||
mg->findGroundLevel(v2s16(x, z), nmin.Y, nmax.Y);
|
||||
y = MYMAX(y, mg->water_level);
|
||||
|
||||
if (y < nmin.Y || y > nmax.Y ||
|
||||
y < y_min || y > y_max)
|
||||
|
Reference in New Issue
Block a user