Remove annoying error messages

This commit is contained in:
rubenwardy 2014-09-26 20:21:43 +01:00
parent db87273eff
commit f360d0e79d

View File

@ -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)
end)