forked from mtcontrib/awards
Remove annoying error messages
This commit is contained in:
parent
db87273eff
commit
f360d0e79d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user