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
1 changed files with 3 additions and 2 deletions

View File

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