Add identifier support for armor stand

This commit is contained in:
Wuzzy 2017-03-21 04:03:33 +01:00
parent 58a8673e76
commit 453a59d19e
2 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,4 @@
mcl_core
mcl_sounds
stairs
doc_identifier?

View File

@ -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 = {