Add 'sneaker.log' method

This commit is contained in:
AntumDeluge 2017-05-27 19:07:14 -07:00 committed by Jordan Irwin
parent f838db1cef
commit c0a53e2340

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