Reduce debug log level of mod loads to "info"
This commit is contained in:
parent
f6284d469d
commit
39cb248e7d
@ -17,7 +17,11 @@ default.WATER_VISC = 1
|
|||||||
default.LIGHT_MAX = 14
|
default.LIGHT_MAX = 14
|
||||||
|
|
||||||
function default.log(text, type)
|
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
|
end
|
||||||
|
|
||||||
function default.dumpvec(v)
|
function default.dumpvec(v)
|
||||||
|
Loading…
Reference in New Issue
Block a user