summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <adam-k@outlook.com>2012-10-07 19:42:41 +0200
committerPilzAdam <adam-k@outlook.com>2012-10-07 19:42:41 +0200
commit913540214ce3f6dcda666cd2d16b24e710beda02 (patch)
tree090b26060e7c21d6af3c06c082904c4238b24def
parent60b15341fa2e449f328bef80ff8781b2d871f285 (diff)
Log mod load if log_mod is set to true
-rw-r--r--init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 6525aee..14f2288 100644
--- a/init.lua
+++ b/init.lua
@@ -176,3 +176,7 @@ minetest.register_entity(":__builtin:item", {
self.object:remove()
end,
})
+
+if minetest.setting_get("log_mods") then
+ minetest.log("action", "builtin_item loaded")
+end