mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Prevent desert temple spawning on beaches
This commit is contained in:
parent
22a1b0a5d2
commit
11b56dfb51
1 changed files with 1 additions and 1 deletions
|
@ -1006,7 +1006,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
|
||||
-- Desert temples and desert wells
|
||||
if nn == "mcl_core:sand" or (nn == "mcl_core:sandstone") then
|
||||
if not chunk_has_desert_temple and not chunk_has_desert_well then
|
||||
if not chunk_has_desert_temple and not chunk_has_desert_well and ground_level > 3 then
|
||||
-- Spawn desert temple
|
||||
-- TODO: Check surface
|
||||
if math.random(1,12000) == 1 then
|
||||
|
|
Loading…
Reference in a new issue