forked from MineClone5/MineClone5
Fix several problems in `mcl_item_id`
This commit is contained in:
parent
a47630035d
commit
a44d9643ae
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue