Fix that aliases attemp to register mineclone:book_enchanted again and again

This commit is contained in:
NO11 2021-07-21 22:16:37 +00:00
parent 31d3ea8a87
commit a0d52010bf

View file

@ -28,7 +28,7 @@ tt.register_snippet(function(itemstring)
end end
end end
end end
minetest.register_alias(new_id, itemstring) minetest.register_alias_force(new_id, itemstring)
if minetest.settings:get_bool("mcl_item_id_debug", true) then if minetest.settings:get_bool("mcl_item_id_debug", true) then
return new_id, "#555555" return new_id, "#555555"
end end