Reduce debug log level of mod loads to "info"

This commit is contained in:
Wuzzy 2019-09-15 13:47:18 +02:00
parent f6284d469d
commit 39cb248e7d
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,11 @@ default.WATER_VISC = 1
default.LIGHT_MAX = 14
function default.log(text, type)
minetest.log("action", "Pixture ["..type.."] "..text)
local level = "action"
if type == "loaded" then
level = "info"
end
minetest.log(level, "Pixture ["..type.."] "..text)
end
function default.dumpvec(v)