mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Mgvalleys: Correct spawn problems
Increase maximum spawn altitude to reduce spawn issues.
This commit is contained in:
parent
48a718e715
commit
af714c7ade
1 changed files with 1 additions and 1 deletions
|
@ -536,7 +536,7 @@ int MapgenValleys::getSpawnLevelAtPoint(v2s16 p)
|
|||
|
||||
s16 level_at_point = terrainLevelAtPoint(p.X, p.Y);
|
||||
if (level_at_point <= water_level ||
|
||||
level_at_point > water_level + 16)
|
||||
level_at_point > water_level + 32)
|
||||
return MAX_MAP_GENERATION_LIMIT; // Unsuitable spawn point
|
||||
else
|
||||
return level_at_point;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue