tsm_chests: Fix floating chests; remove extra bloat (#492)

This commit is contained in:
ANAND 2019-12-06 10:37:46 +05:30 committed by Thomas--S
parent 19ce34153b
commit f0a8327c18
3 changed files with 10 additions and 31 deletions

View file

@ -260,12 +260,11 @@ local function place_map(map)
ctf_map.place_base(value.color, value.pos)
end
local seed = minetest.get_mapgen_setting("seed")
for _, chestzone in pairs(ctf_map.map.chests) do
minetest.log("verbose", "Placing " .. chestzone.n .. " chests from " ..
minetest.pos_to_string(chestzone.from) .. " to "..
minetest.pos_to_string(chestzone.to))
place_chests(chestzone.from, chestzone.to, seed, chestzone.n)
tsm_chests.place_chests(chestzone.from, chestzone.to, chestzone.n)
end
minetest.after(2, function()