mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Restrict dungeon chest spawning again
This commit is contained in:
parent
a792e5d545
commit
4625d2e8f8
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ minetest.register_on_generated(function(minp, maxp)
|
|||
table.sort(chestSlots)
|
||||
local currentChest = 1
|
||||
|
||||
if ceilingfloor_ok and openings >= 0 and openings <= 5000 then
|
||||
if ceilingfloor_ok and openings >= 1 and openings <= 5 then
|
||||
-- Ceiling and floor
|
||||
local maxx, maxy, maxz = x+dim.x+1, y+dim.y+1, z+dim.z+1
|
||||
local chestSlotCounter = 1
|
||||
|
|
Loading…
Reference in a new issue