From 4625d2e8f8c0ac138e71698f90ce693f834a67e1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 24 May 2017 12:12:45 +0200 Subject: [PATCH] Restrict dungeon chest spawning again --- mods/MAPGEN/mcl_dungeons/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/MAPGEN/mcl_dungeons/init.lua b/mods/MAPGEN/mcl_dungeons/init.lua index 9cdc846b48..fa7bba8b12 100644 --- a/mods/MAPGEN/mcl_dungeons/init.lua +++ b/mods/MAPGEN/mcl_dungeons/init.lua @@ -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