Update alias syntax

This commit is contained in:
Wuzzy 2016-12-28 17:34:06 +01:00
parent ee7763eb42
commit ed98637211

View File

@ -121,6 +121,6 @@ minetest.register_node("doc_example:node2", {
--[[ Register an alias to make sure the lookup tool still works. --[[ Register an alias to make sure the lookup tool still works.
If this is NOT done, the lookup tool will fail when it is If this is NOT done, the lookup tool will fail when it is
used on doc_example:node2. ]] used on doc_example:node2. ]]
doc.add_entry_alias("nodes", "doc_example:node1", "doc_example:node2") doc.add_entry_alias("nodes", "doc_example:node1", "nodes", "doc_example:node2")
-- Another example of this concept in action be seen in the mod “doc_identifier”. -- Another example of this concept in action be seen in the mod “doc_identifier”.