3d_armor_stand: add to mpvs stoppers

This commit is contained in:
MoNTE48 2020-11-01 22:17:51 +01:00
parent fb916fbb1d
commit a73104b061
2 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,3 @@
3d_armor
default
mesecons_mvps?

View File

@ -200,7 +200,6 @@ local function register_armor_stand(name, def)
after_destruct = update_entity,
on_blast = function(pos)
drop_armor(pos)
armor.drop_armor(pos, "3d_armor_stand:armor_stand")
minetest.remove_node(pos)
end
}
@ -213,6 +212,10 @@ local function register_armor_stand(name, def)
def.material = nil
minetest.register_node(name, def)
if mesecon and mesecon.register_mvps_stopper then
mesecon.register_mvps_stopper(name)
end
end