diff --git a/init.lua b/init.lua index 29357a4..15fa176 100644 --- a/init.lua +++ b/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",