1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Replace print()s with minetest.log() in builtin

This commit is contained in:
PilzAdam 2013-11-17 12:11:44 +01:00
parent a92fc3563c
commit 367b5382a3
3 changed files with 6 additions and 6 deletions

View file

@ -778,7 +778,7 @@ function modmgr.handle_configure_world_buttons(fields)
end
if not worldfile:write() then
print("failed to write world config file")
minetest.log("error", "Failed to write world config file")
end
modmgr.modlist = nil
@ -932,7 +932,7 @@ function modmgr.preparemodlist(data)
if element ~= nil then
element.enabled = engine.is_yes(value)
else
print("Mod: " .. key .. " " .. dump(value) .. " but not found")
minetest.log("info", "Mod: " .. key .. " " .. dump(value) .. " but not found")
end
end
end