Fix several problems in `mcl_item_id`
parent
a47630035d
commit
a44d9643ae
|
@ -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 New Issue