From 0e686965661b4be1245452ed5db9cd2e8f5863af Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 29 Jan 2017 04:34:26 -0500 Subject: [PATCH] remove debug prints localized a misc. variable --- homedecor/lighting.lua | 6 +----- lavalamp/init.lua | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index 905fae5d..060c77af 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -574,8 +574,6 @@ for _, power in ipairs(lamp_power) do end end -print(dump(homedecor.old_static_nodes)) - minetest.register_lbm({ name = "homedecor:convert_lighting", label = "Convert homedecor glowlights, table lamps, and standing lamps to use param2 color", @@ -637,6 +635,7 @@ minetest.register_lbm({ local old_fdir local new_node = newname local new_fdir + local param2 if string.find(name, "glowlight") then paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted") @@ -661,9 +660,6 @@ minetest.register_lbm({ param2 = paletteidx end - print(node.name.." --> "..newname..", "..color.." ("..paletteidx.."), fdir = "..node.param2.." --> "..param2) - print("fdir "..dump(old_fdir).." --> "..dump(new_fdir)) - minetest.set_node(pos, { name = new_node, param2 = param2 }) local meta = minetest.get_meta(pos) meta:set_string("dye", "unifieddyes:"..color) diff --git a/lavalamp/init.lua b/lavalamp/init.lua index d096feac..98f4767e 100644 --- a/lavalamp/init.lua +++ b/lavalamp/init.lua @@ -98,8 +98,6 @@ for _, color in ipairs(colors) do table.insert(lavalamp.old_static_nodes, "lavalamp:"..color.."_off") end -print(dump(lavalamp.old_static_nodes)) - minetest.register_lbm({ name = "lavalamp:convert", label = "Convert lava lamps to use param2 color", @@ -125,7 +123,6 @@ minetest.register_lbm({ end local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, false) - print("LAVALAMP: "..node.name..", "..color.." ("..paletteidx..")") minetest.set_node(pos, { name = "lavalamp:lavalamp", param2 = paletteidx }) local meta = minetest.get_meta(pos)