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,