1
0
mirror of https://gitlab.com/rubenwardy/awards.git synced 2024-11-10 12:40:17 +01:00

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 end
local nodedug = string.split(oldnode.name, ":") local nodedug = string.split(oldnode.name, ":")
if #nodedug ~= 2 then 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 return
end end
local mod = nodedug[1] local mod = nodedug[1]
@ -73,7 +73,7 @@ minetest.register_on_placenode(function(pos,node,digger)
end end
local nodedug = string.split(node.name, ":") local nodedug = string.split(node.name, ":")
if #nodedug ~= 2 then 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 return
end end
local mod=nodedug[1] local mod=nodedug[1]