fix alias for highest level of leveled nodes.
This commit is contained in:
parent
ddf0ada4ff
commit
c1bc0d18a5
1 changed files with 1 additions and 1 deletions
|
@ -78,5 +78,5 @@ function blockgame.register_leveled_node (name, def)
|
||||||
register_layer(basename, def, level, modname)
|
register_layer(basename, def, level, modname)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_alias(name .. "_" .. def.level_max, basename)
|
minetest.register_alias(fullname, fullname .. "_" .. def.level_max)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue