Update alias syntax

master
Wuzzy 2016-12-28 17:34:06 +01:00
parent ee7763eb42
commit ed98637211
1 changed files with 1 additions and 1 deletions

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”.