mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-12-24 17:50:20 +01:00
change digiline to digilines in nodedef (#47)
* change digiline to digilines in nodedef * choose the other variant
This commit is contained in:
parent
930ca4779a
commit
925b318800
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user