From 55626c305275c18c7a997a6df87c9fc41844cbd8 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 21 Mar 2017 04:58:38 +0100 Subject: [PATCH] Add nether wart plant Help aliases --- mods/ITEMS/mcl_nether/depends.txt | 1 + mods/ITEMS/mcl_nether/nether_wart.lua | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/mods/ITEMS/mcl_nether/depends.txt b/mods/ITEMS/mcl_nether/depends.txt index 8e0c0acd97..492887c93b 100644 --- a/mods/ITEMS/mcl_nether/depends.txt +++ b/mods/ITEMS/mcl_nether/depends.txt @@ -2,3 +2,4 @@ mcl_sounds mcl_util walkover doc_items +doc? diff --git a/mods/ITEMS/mcl_nether/nether_wart.lua b/mods/ITEMS/mcl_nether/nether_wart.lua index aae72c3a2b..e77060d76b 100644 --- a/mods/ITEMS/mcl_nether/nether_wart.lua +++ b/mods/ITEMS/mcl_nether/nether_wart.lua @@ -160,3 +160,8 @@ minetest.register_abm({ end }) +if minetest.get_modpath("doc") then + for i=1,2 do + doc.add_entry_alias("nodes", "mcl_nether:nether_wart_0", "nodes", "mcl_nether:nether_wart_"..i) + end +end