mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-12-24 01:30: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)
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user