0
0
Fork 0

Add help entry alias for banner node

This commit is contained in:
Wuzzy 2017-07-29 03:31:43 +02:00
parent 39713ee521
commit 2186d2ddeb
2 changed files with 6 additions and 0 deletions

View File

@ -2,3 +2,4 @@ mcl_sounds?
mcl_core?
mcl_wool?
mcl_cauldrons?
doc?

View File

@ -284,6 +284,11 @@ minetest.register_entity("mcl_banners:standing_banner", {
end,
})
if minetest.get_modpath("doc") then
-- This is a crappy alias, because it always shows the white banner help page, regardless of the true banner color.
doc.add_entry_alias("craftitems", "mcl_banners:banner_item_white", "nodes", "mcl_banners:standing_banner")
end
minetest.register_craft({
type = "fuel",
recipe = "group:banner",