mirror of
https://repo.or.cz/minetest_wateringcan.git
synced 2024-10-06 09:53:06 +02:00
Fix mod breaking due to doc_items alias
This commit is contained in:
parent
5d5292afa0
commit
cd282b4734
@ -4,3 +4,4 @@ farming?
|
||||
pedology?
|
||||
intllib?
|
||||
doc?
|
||||
doc_items?
|
||||
|
2
init.lua
2
init.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user