diff --git a/homedecor/climate-control.lua b/homedecor/climate-control.lua index b47960d1823be213d3948ff4540befd2e6f831de..412fedf7f2f605a1aea5acc2a27da2aecdf80ee2 100644 --- a/homedecor/climate-control.lua +++ b/homedecor/climate-control.lua @@ -25,7 +25,6 @@ minetest.register_entity("homedecor:mesh_desk_fan", { }) local add_mesh_desk_fan_entity = function(pos) - print("in add_mesh_desk_fan_entity()") local param2 = minetest.get_node(pos).param2 local entity = minetest.add_entity(pos, "homedecor:mesh_desk_fan") if param2 == 0 then diff --git a/homedecor/furniture.lua b/homedecor/furniture.lua index 37cca25f36602edd9a08ec52f94720a8a21f5ae5..6c4526c8d75f40bb74167db73e14366d11aeb506 100644 --- a/homedecor/furniture.lua +++ b/homedecor/furniture.lua @@ -235,8 +235,6 @@ minetest.register_lbm({ local param2 = paletteidx + new_fdir local newname = "homedecor:armchair" - print(name, dump(a), dump(b), dump(color).."("..dump(paletteidx)..")", dump(param2)) - if node.name == "homedecor:chair" then newname = "homedecor:kitchen_chair_wood" elseif string.find(node.name, "homedecor:chair_") then diff --git a/homedecor/init.lua b/homedecor/init.lua index e38cd817507bedbfe0ab9d9cb3b195cf77ac7fcd..1b54359b4770872957757806c279b6a7bc7c65b2 100644 --- a/homedecor/init.lua +++ b/homedecor/init.lua @@ -119,4 +119,6 @@ dofile(modpath.."/wardrobe.lua") dofile(modpath.."/crafts.lua") -print("[HomeDecor] " .. S("Loaded!")) +if minetest.settings:get_bool("log_mod") then + minetest.log("action", "[HomeDecor] " .. S("Loaded!")) +end diff --git a/lrfurn/armchairs.lua b/lrfurn/armchairs.lua index ad230142f52487416d3730b0e1f72e30f36b7caa..1155050a6ce6a0350112da897b859d1476edac5b 100644 --- a/lrfurn/armchairs.lua +++ b/lrfurn/armchairs.lua @@ -64,7 +64,6 @@ lrfurn.old_static_armchairs = {} for _, color in ipairs(lrfurn.colors) do table.insert(lrfurn.old_static_armchairs, "lrfurn:armchair_"..color) - print("lrfurn:armchair_"..color) end minetest.register_lbm({