Map nodes: Readd wool aliases (#855)

This commit is contained in:
Lars Müller 2021-04-06 16:14:36 +02:00 committed by GitHub
parent f774ecff0f
commit f965b310fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,5 +113,8 @@ for name, def in pairs(minetest.registered_nodes) do
end
make_immortal(new_def)
minetest.register_node(new_name, new_def)
if mod == "wool" then
minetest.register_alias("ctf_map:" .. nodename, new_name)
end
end
end