Fix mod breaking due to doc_items alias

This commit is contained in:
Wuzzy 2016-11-17 18:44:07 +01:00
parent 5d5292afa0
commit cd282b4734
2 changed files with 2 additions and 1 deletions

@ -4,3 +4,4 @@ farming?
pedology?
intllib?
doc?
doc_items?

@ -117,6 +117,6 @@ if minetest.get_modpath("bucket") ~= 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("tools", "wateringcan:wateringcan_empty", "wateringcan:wateringcan_water")
end