master #5

Merged
NO11 merged 42 commits from VoxeLibre/VoxeLibre:master into master 2021-08-11 17:38:46 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5c5c405ccf - Show all commits

View File

@ -13,7 +13,7 @@ function mcl_item_id.set_mod_namespace(modname, namespace)
if item_split then
local id_modname = item:sub(1, item_split - 1)
local id_string = item:sub(item_split)
if id_modname == modname then
if id_modname == modname and modname ~= namespace then
minetest.register_alias_force(namespace .. id_string, item)
end
end