Remove old logging.
parent
fc14edb398
commit
f0bd42d7ec
|
@ -6,12 +6,7 @@ local function place_item(tab)
|
||||||
if n and n.name ~= "air" then
|
if n and n.name ~= "air" then
|
||||||
pos.y = pos.y + 1
|
pos.y = pos.y + 1
|
||||||
local name = items[math.random(1, #items)]
|
local name = items[math.random(1, #items)]
|
||||||
--Failsafe
|
core.set_node(pos, {name = name})
|
||||||
if minetest.registered_nodes[name] then
|
|
||||||
core.set_node(pos, {name = name})
|
|
||||||
else
|
|
||||||
kingdoms.log("warning", "Tried to place unregistered node "..name.." in dungeon.")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue