Fix that aliases attemp to register mineclone:book_enchanted again and again
parent
31d3ea8a87
commit
a0d52010bf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue