diff --git a/mods/bg_api/leveled_node.lua b/mods/bg_api/leveled_node.lua index e2ff414..83cb8ec 100644 --- a/mods/bg_api/leveled_node.lua +++ b/mods/bg_api/leveled_node.lua @@ -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