From e1bc0e23c80ab5953fa6f0cb78989f45f7269af5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 23 Jun 2019 13:09:16 +0200 Subject: [PATCH] Reduce debug log level for autosaving debug msgs --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 56df387..95aa1ea 100644 --- a/init.lua +++ b/init.lua @@ -355,7 +355,7 @@ function playereffects.save_to_file() if file then file:write(savestring) io.close(file) - minetest.log("action", "[playereffects] Wrote playereffects data into "..filepath..".") + minetest.log("info", "[playereffects] Wrote playereffects data into "..filepath..".") else minetest.log("error", "[playereffects] Failed to write playereffects data into "..filepath..".") end @@ -393,7 +393,7 @@ minetest.register_on_leaveplayer(function(player) end) minetest.register_on_shutdown(function() - minetest.log("action", "[playereffects] Server shuts down. Rescuing data into playereffects.mt") + minetest.log("info", "[playereffects] Server shuts down. Rescuing data into playereffects.mt") playereffects.save_to_file() end) @@ -427,7 +427,7 @@ minetest.register_globalstep(function(dtime) -- Autosave into file if(playereffects.use_autosave == true and playereffects.autosave_timer >= playereffects.autosave_time) then playereffects.autosave_timer = 0 - minetest.log("action", "[playereffects] Autosaving mod data to playereffects.mt ...") + minetest.log("info", "[playereffects] Autosaving mod data to playereffects.mt ...") playereffects.save_to_file() end end) -- 2.11.4.GIT