Fix doc_items optional dependency

master
Wuzzy 2016-12-12 12:39:06 +01:00
parent 9a7841a06d
commit 8d8a063023
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ if minetest.get_modpath("default") ~= nil then
})
end
if minetest.get_modpath("doc") ~= nil then
if minetest.get_modpath("doc") ~= nil and minetest.get_modpath("doc_items") ~= nil then
doc.add_entry_alias("nodes", "easyvend:vendor", "easyvend:vendor_on")
doc.add_entry_alias("nodes", "easyvend:depositor", "easyvend:depositor_on")
end