forked from nalc/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
|
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]
|
||||||
|
Loading…
Reference in New Issue
Block a user