1
0
Fork 0

Restrict dungeon chest spawning again

objects
Wuzzy 2017-05-24 12:12:45 +02:00
parent a792e5d545
commit 4625d2e8f8
1 changed files with 1 additions and 1 deletions

View File

@ -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