export xpanes.update_pane

This commit is contained in:
cora 2022-09-12 00:52:35 +02:00 committed by Gitea
parent 420401fcce
commit 9d62e076a9

View file

@ -86,6 +86,7 @@ minetest.register_on_dignode(function(pos,node)
end) end)
xpanes = {} xpanes = {}
xpanes.update_pane = update_pane
function xpanes.register_pane(name, def) function xpanes.register_pane(name, def)
for i = 1, 15 do for i = 1, 15 do
minetest.register_alias("xpanes:" .. name .. "_" .. i, "xpanes:" .. name .. "_flat") minetest.register_alias("xpanes:" .. name .. "_" .. i, "xpanes:" .. name .. "_flat")