export xpanes.update_pane

This commit is contained in:
cora 2022-09-12 00:52:35 +02:00
parent f5a26a0253
commit 88c3816bb8

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")