From 2f7d3095fd5e7cce63363493f8badebc71227375 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 28 Aug 2017 18:09:30 +0200 Subject: [PATCH] Fix broken help entry for hanging banner --- mods/ITEMS/mcl_banners/init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_banners/init.lua b/mods/ITEMS/mcl_banners/init.lua index e48c680b21..91535064a9 100644 --- a/mods/ITEMS/mcl_banners/init.lua +++ b/mods/ITEMS/mcl_banners/init.lua @@ -298,10 +298,15 @@ for colorid, colortab in pairs(mcl_banners.colors) do if minetest.get_modpath("doc") then -- Add item to node alias doc.add_entry_alias("nodes", "mcl_banners:standing_banner", "craftitems", itemstring) - doc.add_entry_alias("nodes", "mcl_banners:hanging_banner", "craftitems", itemstring) end end +if minetest.get_modpath("doc") then + -- Add item to node alias + doc.add_entry_alias("nodes", "mcl_banners:standing_banner", "nodes", "mcl_banners:hanging_banner") +end + + -- Banner entities. local entity_standing = { physical = false,