Add 'sneaker.log' method
This commit is contained in:
parent
f6eca4002a
commit
2712d7119c
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