forked from VoxeLibre/VoxeLibre
Fix that aliases attemp to register mineclone:book_enchanted again and again
This commit is contained in:
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