Réduit les messages de la console.
This commit is contained in:
parent
0f02d5e54b
commit
0f92ce7b10
4
init.lua
4
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("verbose", "[playereffects] Wrote playereffects data into "..filepath..".")
|
||||
else
|
||||
minetest.log("error", "[playereffects] Failed to write playereffects data into "..filepath..".")
|
||||
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("verbose", "[playereffects] Autosaving mod data to playereffects.mt ...")
|
||||
playereffects.save_to_file()
|
||||
end
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user