diff --git a/mods/ITEMS/mcl_tnt/depends.txt b/mods/ITEMS/mcl_tnt/depends.txt index a135c3ff71..eec31c2bb0 100644 --- a/mods/ITEMS/mcl_tnt/depends.txt +++ b/mods/ITEMS/mcl_tnt/depends.txt @@ -1,3 +1,4 @@ mcl_core mcl_sounds mcl_fire +doc_identifier? diff --git a/mods/ITEMS/mcl_tnt/init.lua b/mods/ITEMS/mcl_tnt/init.lua index dfd9692ae8..5e040805c8 100644 --- a/mods/ITEMS/mcl_tnt/init.lua +++ b/mods/ITEMS/mcl_tnt/init.lua @@ -153,3 +153,7 @@ minetest.register_craft({ {'mcl_mobitems:gunpowder','group:sand','mcl_mobitems:gunpowder'} } }) + +if minetest.get_modpath("doc_identifier") then + doc.sub.identifier.register_object("mcl_tnt:tnt", "nodes", "mcl_tnt:tnt") +end