summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2014-09-26 20:21:43 +0100
committerrubenwardy <rubenwardy@gmail.com>2014-09-26 20:21:43 +0100
commitf360d0e79dc916fda235795121a4c710f92f2198 (patch)
tree0b7e4dc9a914cce6905460b82e921b4b78e03cc3
parentdb87273effa36617440d57cc7044cb3288cd8a1e (diff)
Remove annoying error messages
-rw-r--r--triggers.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/triggers.lua b/triggers.lua
index 8bb909e..66454cf 100644
--- a/triggers.lua
+++ b/triggers.lua
@@ -18,7 +18,7 @@ minetest.register_on_dignode(function(pos, oldnode, digger)
end
local nodedug = string.split(oldnode.name, ":")
if #nodedug ~= 2 then
- minetest.log("error","Awards mod: "..oldnode.name.." is in wrong format!")
+ --minetest.log("error","Awards mod: "..oldnode.name.." is in wrong format!")
return
end
local mod = nodedug[1]
@@ -73,7 +73,7 @@ minetest.register_on_placenode(function(pos,node,digger)
end
local nodedug = string.split(node.name, ":")
if #nodedug ~= 2 then
- minetest.log("error","Awards mod: "..node.name.." is in wrong format!")
+ --minetest.log("error","Awards mod: "..node.name.." is in wrong format!")
return
end
local mod=nodedug[1]
@@ -226,4 +226,4 @@ end)
minetest.register_on_shutdown(function()
awards.save()
-end) \ No newline at end of file
+end)