fix alias for highest level of leveled nodes.

This commit is contained in:
trans_soup 2023-10-21 22:43:39 +02:00
parent ddf0ada4ff
commit c1bc0d18a5

View file

@ -78,5 +78,5 @@ function blockgame.register_leveled_node (name, def)
register_layer(basename, def, level, modname)
end
minetest.register_alias(name .. "_" .. def.level_max, basename)
minetest.register_alias(fullname, fullname .. "_" .. def.level_max)
end