diff --git a/mods/ITEMS/minetest-3d_armor/3d_armor_stand/depends.txt b/mods/ITEMS/minetest-3d_armor/3d_armor_stand/depends.txt index 88d41c1a..f850654c 100644 --- a/mods/ITEMS/minetest-3d_armor/3d_armor_stand/depends.txt +++ b/mods/ITEMS/minetest-3d_armor/3d_armor_stand/depends.txt @@ -2,3 +2,4 @@ mcl_core mcl_sounds stairs +doc_identifier? diff --git a/mods/ITEMS/minetest-3d_armor/3d_armor_stand/init.lua b/mods/ITEMS/minetest-3d_armor/3d_armor_stand/init.lua index 79090f26..75cf5e07 100644 --- a/mods/ITEMS/minetest-3d_armor/3d_armor_stand/init.lua +++ b/mods/ITEMS/minetest-3d_armor/3d_armor_stand/init.lua @@ -216,6 +216,10 @@ minetest.register_entity("3d_armor_stand:armor_entity", { end, }) +if minetest.get_modpath("doc_identifier") ~= nil then + doc.sub.identifier.register_object("3d_armor_stand:armor_entity", "nodes", "3d_armor_stand:armor_stand") +end + minetest.register_craft({ output = "3d_armor_stand:armor_stand", recipe = {