forked from VoxeLibre/VoxeLibre
Add identifier support for armor stand
This commit is contained in:
parent
58a8673e76
commit
453a59d19e
|
@ -2,3 +2,4 @@
|
||||||
mcl_core
|
mcl_core
|
||||||
mcl_sounds
|
mcl_sounds
|
||||||
stairs
|
stairs
|
||||||
|
doc_identifier?
|
||||||
|
|
|
@ -216,6 +216,10 @@ minetest.register_entity("3d_armor_stand:armor_entity", {
|
||||||
end,
|
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({
|
minetest.register_craft({
|
||||||
output = "3d_armor_stand:armor_stand",
|
output = "3d_armor_stand:armor_stand",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
Loading…
Reference in New Issue