forked from Mirrorlandia_minetest/mod-sneeker
Add 'sneaker.log' method
This commit is contained in:
parent
f838db1cef
commit
c0a53e2340
4
init.lua
4
init.lua
@ -5,6 +5,10 @@ sneaker = {}
|
||||
sneaker.modname = minetest.get_current_modname()
|
||||
sneaker.modpath = minetest.get_modpath(sneaker.modname)
|
||||
|
||||
function sneaker.log(message)
|
||||
minetest.log("action", "[" .. sneaker.modname .. "] " .. message)
|
||||
end
|
||||
|
||||
local scripts = {
|
||||
"tnt_function",
|
||||
"spawn",
|
||||
|
Loading…
Reference in New Issue
Block a user