forked from Mirrorlandia_minetest/mod-sneeker
Add debug message to display in log when turned on
This commit is contained in:
parent
a73dc9aa39
commit
23477fb85f
2
init.lua
2
init.lua
@ -17,6 +17,8 @@ end
|
|||||||
dofile(sneeker.modpath .. "/settings.lua")
|
dofile(sneeker.modpath .. "/settings.lua")
|
||||||
dofile(sneeker.modpath .. "/functions.lua")
|
dofile(sneeker.modpath .. "/functions.lua")
|
||||||
|
|
||||||
|
sneeker.log_debug("Debugging is on")
|
||||||
|
|
||||||
if log_mods then
|
if log_mods then
|
||||||
sneeker.log("Spawn cap: " .. tostring(sneeker.spawn_cap))
|
sneeker.log("Spawn cap: " .. tostring(sneeker.spawn_cap))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user