change digiline to digilines in nodedef (#47)

* change digiline to digilines in nodedef

* choose the other variant
This commit is contained in:
DS 2019-03-06 07:01:12 +01:00 committed by sofar
parent 930ca4779a
commit 925b318800

View File

@ -1,6 +1,7 @@
function digilines.getspec(node) function digilines.getspec(node)
if not minetest.registered_nodes[node.name] then return false end local def = minetest.registered_nodes[node.name]
return minetest.registered_nodes[node.name].digiline if not def then return false end
return def.digilines or def.digiline
end end
function digilines.importrules(spec, node) function digilines.importrules(spec, node)