mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix several problems in mcl_item_id
This commit is contained in:
parent
a47630035d
commit
a44d9643ae
1 changed files with 6 additions and 2 deletions
|
@ -28,8 +28,12 @@ tt.register_snippet(function(itemstring)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
minetest.register_alias_force(new_id, itemstring)
|
if new_id ~= game .. ":book_enchanted" then
|
||||||
if minetest.settings:get_bool("mcl_item_id_debug", true) then
|
minetest.register_alias_force(new_id, itemstring)
|
||||||
|
end
|
||||||
|
if minetest.settings:get_bool("mcl_item_id_debug", false) then
|
||||||
return new_id, "#555555"
|
return new_id, "#555555"
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
minetest.register_alias_force(game .. ":book_enchanted", "mcl_enchanting:book_enchanted")
|
||||||
|
|
Loading…
Reference in a new issue