mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
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
Block a user