Add 'sneaker.log' method

This commit is contained in:
AntumDeluge 2017-05-27 19:07:14 -07:00
parent f6eca4002a
commit 2712d7119c

@ -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',