3d_armor_stand: add to mpvs stoppers
This commit is contained in:
parent
fb916fbb1d
commit
a73104b061
@ -1,2 +1,3 @@
|
||||
3d_armor
|
||||
default
|
||||
mesecons_mvps?
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user