cleanup old debug chat statements

This commit is contained in:
wsor4035 2023-05-01 20:01:24 -04:00
parent d43b79f4d2
commit 0f12e8fa56
1 changed files with 0 additions and 4 deletions

View File

@ -226,7 +226,6 @@ end)
minetest.register_on_generated(function(minp, maxp, blockseed)
local g = minetest.get_mapgen_object("gennotify")
--minetest.chat_send_all(dump(g))
local locations = {}
for _, id in pairs(deco_ids) do
local deco_locations = g["decoration#" .. id] or {}
@ -237,11 +236,8 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
if #locations == 0 then return end
for _, pos in ipairs(locations) do
--minetest.chat_send_all("yay")
local timer = minetest.get_node_timer({x=pos.x, y=pos.y+1, z=pos.z})
timer:start(math.random(2,10))
--minetest.chat_send_all("generated")
--minetest.set_node(pos, {name="default:stone"})
end
end)