1
0
Fork 0

Fix several problems in `mcl_item_id`

This commit is contained in:
NO11 2021-07-22 19:23:48 +00:00
parent a47630035d
commit a44d9643ae
1 changed files with 6 additions and 2 deletions

View File

@ -28,8 +28,12 @@ tt.register_snippet(function(itemstring)
end end
end end
end end
if new_id ~= game .. ":book_enchanted" then
minetest.register_alias_force(new_id, itemstring) minetest.register_alias_force(new_id, itemstring)
if minetest.settings:get_bool("mcl_item_id_debug", true) then 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")