forked from mtcontrib/minetest_returnmirror
Use new doc alias syntax
This commit is contained in:
parent
5c77f04817
commit
003ff49108
2
init.lua
2
init.lua
@ -144,5 +144,5 @@ minetest.register_tool("returnmirror:mirror_active", {
|
||||
minetest.register_alias("returnmirror:mirror_inactive", "returnmirror:returnmirror")
|
||||
|
||||
if minetest.get_modpath("doc") ~= nil then
|
||||
doc.add_entry_alias("tools", "returnmirror:mirror_inactive", "returnmirror:mirror_active")
|
||||
doc.add_entry_alias("tools", "returnmirror:mirror_inactive", "tools", "returnmirror:mirror_active")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user